psychon
7331fe3fd2
Remove a useless constructor call
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1783 726aef4b-f618-498e-8847-2d620e286838
2010-02-21 08:24:03 +00:00
psychon
e4981c2449
Fix --disable-tcl
...
Thanks to Efreak for finding this.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1782 726aef4b-f618-498e-8847-2d620e286838
2010-02-21 08:14:40 +00:00
prozacx
11d3b6579d
Don't quote url or html escaped strings (edited two non-used macros)
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1781 726aef4b-f618-498e-8847-2d620e286838
2010-02-21 04:17:27 +00:00
prozacx
20a1794c16
Split the Token() change to an overloaded function
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1780 726aef4b-f618-498e-8847-2d620e286838
2010-02-21 01:35:54 +00:00
prozacx
2f9e005115
Readding Token() code which does get called a lot but also fixes a webadmin bug where the darkcloud skin doesn't highlite the current page's nav item
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1779 726aef4b-f618-498e-8847-2d620e286838
2010-02-20 18:54:52 +00:00
psychon
8d8cb1a8d2
autoattach: Attach on channel actions
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1778 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 17:11:56 +00:00
psychon
d2931d289a
Another patch by DarthGandalf, thanks
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1777 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 17:06:42 +00:00
psychon
20e8465b60
Fix a bunch of style suggestions from cppcheck[1]
...
Thanks to DarthGandalf for this patch. You must be bored. :P
[1] cppcheck.sf.net
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1776 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 16:21:07 +00:00
psychon
c095da5602
Remove a spurious semicolon
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1775 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 10:21:33 +00:00
psychon
ff54899588
Generate stronger certificates in --makepem
...
Idea and patch by Reed Loden on the bug tracker, thanks a lot.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1774 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 20:41:56 +00:00
psychon
4825bb6d8e
Revert r1765
...
This breaks traffic stats. Thanks to flakes for noticing.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1773 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 17:07:50 +00:00
cflakes
122ef38fb0
Added a missing error message to UpdateMod plus cleaned up two more lines of /znc help.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1772 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 14:15:39 +00:00
cflakes
7b34f1e4b7
Cleanup for "/znc help".
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1771 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 14:03:07 +00:00
cflakes
46ec498837
Added an optional [User] argument to /znc ListChans for admin users.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1770 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 13:50:48 +00:00
cflakes
1609e45c78
Added a "number of channels" column to the LISTUSERS output. The number also includes disabled channels.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1769 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 13:42:32 +00:00
cflakes
e3dd59500b
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
7340af82eb
Fix all overloaded Csock::ReadData() functions
...
CSocket changes the prototype, we follow.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1767 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 13:16:44 +00:00
psychon
b34d8bd0ff
Update to latest Csocket
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1766 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 13:04:11 +00:00
psychon
3edf439596
Remove CModule::m_bGlobal
...
This one is partly due to cppcheck, too, because it warned that one of CModule's
constructors didn't initialize m_bGlobal.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1765 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:51:59 +00:00
psychon
51355cacf2
Avoid a CString copy in CFile::FType()
...
You guessed right, cppcheck ftw!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1764 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:49:24 +00:00
psychon
8097df945b
Make CSmartPtr::operator == const
...
Yet Another cppcheck warning.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1763 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:44:52 +00:00
psychon
bfa4b839eb
Fix a small memory leak in webadmin
...
If the two passwords entered didn't match, webadmin leaked a CUser instance.
This was found by cppcheck, too.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1762 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:42:49 +00:00
psychon
e4cddba749
Use empty() instead of size() == 0 where appropriate
...
This was found by cppcheck (cppcheck.sf.net).
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1761 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:39:41 +00:00
psychon
765baedf15
Don't let a ZNC user connect to itself
...
If you let your ZNC user to itself, you generate a loop. ZNC will send the
"Welcome to ZNC message" to the connected client, which is itself. So it
receives that messages and sends it to its client again, which...
We detect this situation because we see raw 001 two times, which should never
happen on a normal IRC server. To get even less than zero ;) false positive, we
only disconnect if the second raw 001 is from a server called "irc.znc.in".
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1760 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:13:22 +00:00
psychon
d7905710e4
Remove unused argument to CChan::RemMode()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1759 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:10:13 +00:00
psychon
4dfb43ca92
Handle more messages in partyline
...
partyline channels now also know about notices, /me and ctcp.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1758 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:09:23 +00:00
psychon
58da8b6a25
Add 'static' to some CModule members
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1757 726aef4b-f618-498e-8847-2d620e286838
2010-02-18 12:07:49 +00:00
psychon
d6cb42a5d1
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
33b526e8d8
Increase the version number to 0.080
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1754 726aef4b-f618-498e-8847-2d620e286838
znc-0.080
2010-02-18 11:49:00 +00:00
imaginos
07e7d26587
commiting the commit i should have comitted prior to the previous commit. (accidently turned the const L into a 0), also allow for missing openssl version
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1753 726aef4b-f618-498e-8847-2d620e286838
2010-02-12 23:29:15 +00:00
imaginos
cab095af2f
<---- i'm with stupid
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1752 726aef4b-f618-498e-8847-2d620e286838
2010-02-12 23:06:19 +00:00
imaginos
50deed2394
keep supporting older versions of openssl
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1751 726aef4b-f618-498e-8847-2d620e286838
2010-02-12 22:59:04 +00:00
imaginos
ad1b7421da
added workaround for v23 undefined const function before handshake is finished type bug thing
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1750 726aef4b-f618-498e-8847-2d620e286838
2010-02-10 23:33:22 +00:00
cflakes
660c0b6285
Reloadmod command: Moved check for empty module name argument to a place where it actually works.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1749 726aef4b-f618-498e-8847-2d620e286838
2010-02-08 22:55:26 +00:00
psychon
c0665b1967
Revert r1738-1742
...
This broke webadmin, changed CString::Token()'s behavior possibly breaking a lot
of stuff just before a release and added an unused config entry.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1748 726aef4b-f618-498e-8847-2d620e286838
2010-02-08 13:49:44 +00:00
cflakes
d31aaa6d2d
AppendTimestamp, PreprendTimestamp, DCCVHost and DenySetVHost (also affects DCCVHost) are now also changable via the admin module. Basic patch by psychon!
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1747 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:21:48 +00:00
cflakes
a4604311a2
Removed an unnecessary exclamation mark from the admin module.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1746 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:02:32 +00:00
cflakes
c7c2039948
Added support for changing the "IsAdmin" flag to the admin module.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1745 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:01:42 +00:00
cflakes
8b80dc72c5
Added support for the MaxJoins and JoinTries variables to the admin module.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1744 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 17:52:42 +00:00
cflakes
d1b241a981
Added missing IsAdmin checks to the admin module. DenyLoadMod and DenySetVHost are now properly adhered to.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1743 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 17:45:20 +00:00
prozacx
0d14504204
Added global/user level skin settings which will be used by a future commit of webmods
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1742 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 05:06:40 +00:00
prozacx
8fad25705f
Fixed a bug introduced in r1740 where template files weren't being found
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1741 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 04:53:06 +00:00
prozacx
fd88aca4bd
Added ability to set paths to include-only which will not be used for the root file but only the INC'd ones
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1740 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 03:57:55 +00:00
prozacx
9b47133582
Pulled in a change for Token() from other codebase
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1739 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 03:43:13 +00:00
prozacx
191bc0a54f
Added some typedefs for containers of strings
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1738 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 03:42:27 +00:00
psychon
13ea2fe2e0
Fix the OnKick() module call
...
This call works exactly as it did before (well, it no longer creates a
temporary CNick instance), but it's documentation now also describes its current
behavior.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1737 726aef4b-f618-498e-8847-2d620e286838
2010-02-06 14:54:06 +00:00
psychon
09833f5f31
Socket.cpp: Add missing #ifdef _MODULES
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1736 726aef4b-f618-498e-8847-2d620e286838
2010-02-05 16:05:25 +00:00
psychon
05cf80ac01
Update to latest Csocket again
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1735 726aef4b-f618-498e-8847-2d620e286838
2010-02-05 13:13:51 +00:00
prozacx
6625b10109
Added GetPath(), only print headers once, forward declare Cmodule
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1734 726aef4b-f618-498e-8847-2d620e286838
2010-02-05 02:03:17 +00:00
prozacx
c0793c6f31
Moved CSocket to Socket.cpp/h
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1733 726aef4b-f618-498e-8847-2d620e286838
2010-02-05 02:01:00 +00:00