psychon
1023d868e4
Fix some warnings with -pedantic
...
"invoking macro GLOBALMODULECALL argument 4: empty macro arguments are undefined
in ISO C90 and ISO C++98"
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2177 726aef4b-f618-498e-8847-2d620e286838
2010-11-07 16:12:17 +00:00
psychon
fcd8df5c87
Increase the version number to 0.097
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2169 726aef4b-f618-498e-8847-2d620e286838
2010-11-06 14:57:13 +00:00
psychon
27c129633f
Increase the version number to 0.096
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2167 726aef4b-f618-498e-8847-2d620e286838
2010-11-06 14:55:25 +00:00
psychon
3ca36c4af7
Increase the version number to 0.095
...
configure is now generated by autoconf 2.67 instead of 2.65.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2106 726aef4b-f618-498e-8847-2d620e286838
2010-08-20 14:14:52 +00:00
psychon
e1b4abe05c
Increase the version number to 0.094
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2104 726aef4b-f618-498e-8847-2d620e286838
2010-08-20 14:12:15 +00:00
psychon
09c4f1466a
Beware of flying spaghetti monsters, they bite.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2103 726aef4b-f618-498e-8847-2d620e286838
2010-08-18 07:59:55 +00:00
psychon
a4f8133e15
Fix a NULL pointer dereference in route_replies
...
When there was only one client with a pending request and that client
disconnected from ZNC, we didn't destroy the timeout. This means that the
associated timer eventually fired and then tried to display which request caused
the timeout. But since we already cleaned up the rest, this resulted in a NULL
pointer dereference.
This commit fixes also another bug: If two different clients got pending
requests and the client whose request was currently handled disconnected, we
didn't send the other client's request to the IRCd.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2102 726aef4b-f618-498e-8847-2d620e286838
2010-08-18 07:57:23 +00:00
psychon
94ea2c6c42
Add new macro ALLMODULECALL()
...
This macro does a module call on all global and all user modules on all users.
This is useful for e.g. OnBoot().
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2075 726aef4b-f618-498e-8847-2d620e286838
2010-07-08 16:38:18 +00:00
psychon
430898be46
Add new macro GLOBALMODULECALL()
...
MODULECALL() calls global and user modules, GLOBALMODULECALL() only calls global
modules. The macro arguments are the same, but GLOBALMODULECALL() can live with
a user being NULL while MODULECALL() detests being called like that.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2074 726aef4b-f618-498e-8847-2d620e286838
2010-07-08 16:05:40 +00:00
psychon
17e7b0f4cf
Increase the version number to 0.093
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2059 726aef4b-f618-498e-8847-2d620e286838
2010-07-03 09:39:39 +00:00
psychon
ced990fb87
Patch by DarthGandalf, thanks.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2042 726aef4b-f618-498e-8847-2d620e286838
2010-06-24 19:42:51 +00:00
psychon
35ef37acc4
Increase the version number to 0.091
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2009 726aef4b-f618-498e-8847-2d620e286838
2010-06-06 07:26:05 +00:00
psychon
501c76a4d5
Increase the version number to 0.090
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2007 726aef4b-f618-498e-8847-2d620e286838
2010-06-06 07:23:52 +00:00
psychon
38d6129964
Move the definition of _SKINDIR_ elsewhere
...
It's only used in WebModules.cpp and in contrast to the other #defines from
main.h, this one is not set in configure by default.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1996 726aef4b-f618-498e-8847-2d620e286838
2010-05-17 12:56:23 +00:00
psychon
fbe5dd10e7
Move module templates to DATADIR
...
The file hierarchy standard wants that!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1982 726aef4b-f618-498e-8847-2d620e286838
2010-05-13 16:51:17 +00:00
psychon
3faf0adf90
Some more tabs gone
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1964 726aef4b-f618-498e-8847-2d620e286838
2010-05-01 20:26:30 +00:00
psychon
f2d7ae1a08
Change a bunch of tabs into spaces
...
At the beginning of lines, one uses tabs for indenting. In the middle of the
line, you use spaces. If you want two different lines to line up with each
other, you start them with the same number of tabs and use spaces for the rest
of the indenting in the "other" line.
Really, that's how one does it!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1963 726aef4b-f618-498e-8847-2d620e286838
2010-05-01 20:15:01 +00:00
psychon
f72e2f8abd
Remove --disable-modules
...
ZNC without modules is like rain without being inside,
you really don't want that!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1794 726aef4b-f618-498e-8847-2d620e286838
2010-02-25 12:29:40 +00:00
prozacx
ad92c58c42
Initial commit of webmods - still lots of work to be done
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1784 726aef4b-f618-498e-8847-2d620e286838
2010-02-22 07:40:22 +00:00
cflakes
b6e07d9327
Increase the version number to 0.089. This forces psychon to release the next version as 0.090 and from there on we can go to 1.0 or 2.0.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1768 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 13:25:35 +00:00
psychon
4a38a76e0c
Increase the version number to 0.081
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1756 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 11:51:05 +00:00
psychon
ed378aab62
Increase the version number to 0.080
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1754 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 11:49:00 +00:00
psychon
ae29c50eb4
Add some more doxygen comments
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1718 726aef4b-f618-498e-8847-2d620e286838
2010-01-23 13:01:00 +00:00
silverleo
07d7477dec
It's 2010, where's my hoverboard?
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1693 726aef4b-f618-498e-8847-2d620e286838
2010-01-06 09:37:05 +00:00
psychon
e7c78159f8
Increase the version number to 0.079
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1678 726aef4b-f618-498e-8847-2d620e286838
2009-12-18 16:09:35 +00:00
psychon
f1945fdde4
Increase the version number to to 0.078
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1676 726aef4b-f618-498e-8847-2d620e286838
2009-12-18 16:06:15 +00:00
psychon
08045fff41
Increase the version number to 0.077
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1636 726aef4b-f618-498e-8847-2d620e286838
2009-09-24 19:06:46 +00:00
psychon
738d8aca64
Increase the version number to 0.076
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1634 726aef4b-f618-498e-8847-2d620e286838
2009-09-24 19:04:57 +00:00
psychon
7c1689db7c
Increase the version number to 0.075
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1578 726aef4b-f618-498e-8847-2d620e286838
2009-07-23 16:59:41 +00:00
psychon
a684891599
Increase the version number to 0.074
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1576 726aef4b-f618-498e-8847-2d620e286838
2009-07-23 16:56:53 +00:00
psychon
e11dbf2290
Increase the version number to 0.073
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1573 726aef4b-f618-498e-8847-2d620e286838
2009-07-21 19:45:05 +00:00
psychon
9f71f301ce
Increase the version number to 0.072
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1571 726aef4b-f618-498e-8847-2d620e286838
2009-07-21 19:42:57 +00:00
psychon
b21000a731
Increase the version number to 0.071
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1518 726aef4b-f618-498e-8847-2d620e286838
2009-05-23 10:47:07 +00:00
psychon
29dd48dbd0
Increase the version number to 0.070
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1516 726aef4b-f618-498e-8847-2d620e286838
2009-05-23 10:45:12 +00:00
psychon
fef58e6ebe
Move the iostream stuff and some "using" from main.h into Utils.h
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1449 726aef4b-f618-498e-8847-2d620e286838
2009-03-29 12:12:34 +00:00
psychon
621046287b
Increase the version number to 0.069
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1448 726aef4b-f618-498e-8847-2d620e286838
2009-03-29 11:43:35 +00:00
psychon
725170ac46
Increase the version number to 0.068
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1446 726aef4b-f618-498e-8847-2d620e286838
2009-03-29 11:41:27 +00:00
psychon
0f52550e09
Add defines.h for Csocket and make Csocket use ZNC's DEBUG()
...
This adds a new file defines.h and moves all the Csocket specific stuff from
main.h into this new file.
Then this makes Csocket use ZNC's DEBUG() macro for its debug output which
means this can now also be enabled by running znc --debug.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1445 726aef4b-f618-498e-8847-2d620e286838
2009-03-25 17:56:29 +00:00
psychon
f991274789
Fix a crash bug with recursion in module calls
...
This was found via partyline and notify_connect. notify_connect calls
CZNC::Broadcast() in OnClientLogin() which calls the OnBroadcast() module call.
When returning from this module calls, m_pUser and m_pClient was reset to NULL
and all the following modules got their OnClientLogin() called with m_pUser and
m_pClient set to NULL.
This patch fixes this by resetting those vars to their old values instead to
NULL when returning from a module call.
This patch also fixes the bug that m_pUser and m_pClient in modules were reset
to NULL after they caused a module call which called back into the current
module. The fix looks similar to the other one (this one is the Modules.h part).
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1438 726aef4b-f618-498e-8847-2d620e286838
2009-03-22 19:05:34 +00:00
psychon
e0a8f83e19
Increase the version number to 0.067
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1399 726aef4b-f618-498e-8847-2d620e286838
2009-02-24 16:41:22 +00:00
psychon
30699d0ebe
Increase the version number to 0.066
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1397 726aef4b-f618-498e-8847-2d620e286838
2009-02-24 16:15:28 +00:00
psychon
77e4ce400f
Calculate VERSION from VERSION_MAJOR and VERSION_MINOR
...
One less place where the version number needs to be updated...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1382 726aef4b-f618-498e-8847-2d620e286838
2009-02-17 13:14:49 +00:00
psychon
77f1a0a52c
Increase the version number to 0.065
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1378 726aef4b-f618-498e-8847-2d620e286838
2009-02-16 15:44:57 +00:00
psychon
25d172037f
Increase the version number to 0.064
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1376 726aef4b-f618-498e-8847-2d620e286838
2009-02-16 15:42:22 +00:00
psychon
08ad0291ea
Happy New Year 2009 everyone!
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1317 726aef4b-f618-498e-8847-2d620e286838
2009-01-01 12:22:21 +00:00
psychon
8db106bf6b
Remove our only getcwd() call
...
We now no longer depend on PATH_MAX which is not defined by POSIX.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1286 726aef4b-f618-498e-8847-2d620e286838
2008-12-07 14:18:23 +00:00
psychon
c7cf105e15
Add VERSION_MAJOR, too (for consistency)
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1285 726aef4b-f618-498e-8847-2d620e286838
2008-12-06 21:13:14 +00:00
psychon
79274a7a47
Add a VERSION_MINOR define which can be used in preprocessor comparisons.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1284 726aef4b-f618-498e-8847-2d620e286838
2008-12-06 20:19:10 +00:00
psychon
66a6f91116
Increase the version number to 0.063
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1278 726aef4b-f618-498e-8847-2d620e286838
2008-12-06 14:09:51 +00:00
psychon
16aabebcbf
Increase the version number to 0.062
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1276 726aef4b-f618-498e-8847-2d620e286838
2008-12-06 14:07:00 +00:00