Commit Graph

3077 Commits

Author SHA1 Message Date
md_5 9f4d2ffa1f Fix PartyLine so that forced channels may not be left at all - users will be rejoined at once. 2013-02-23 18:31:10 +11:00
Alexey Sokolov f32db92e6d Merge branch 'master' of github.com:znc/znc 2013-02-01 00:32:58 +07:00
Alexey Sokolov 538a41cbae Show password in --makepass in new format 2013-02-01 00:17:18 +07:00
Alexey Sokolov fd52d27caf Merge pull request #294 from TheLordOfTime/master
controlpanel.cpp BugFix: Empty 'disconnect' command returns 'reconnect' syntax help
2013-01-30 07:45:12 -08:00
Alexey Sokolov ad06b170d6 A bit more consistency bewteen Del* and Rem*
Thanks to Kult for reporting this
2013-01-29 20:52:20 +07:00
TheLordOfTime fd813c01af controlpanel.cpp: Fix bug for "Disconnect" help
This fixes a bug in which providing empty data for the 'disconnect' command for controlpanel will return the 'reconnect' command's syntax help, which can confuse users.
2013-01-29 04:46:55 -05:00
Alexey Sokolov 0491e55926 Fix one more case of dlerror(), if it returns NULL after error. 2013-01-27 01:48:27 +07:00
Alexey Sokolov 7312a36629 Don't lose dlerror() message.
Some weird systems seem to use dl functions while doing std::string
concatenation...

Thanks to Hoss for reporting it
2013-01-27 01:26:52 +07:00
Alexey Sokolov 183a261e69 Really disable charset module if iconv is not found.
On some systems CHARSET variable is set...

Thanks to Hoss for reporting it
2013-01-27 01:19:45 +07:00
Alexey Sokolov f661f2a002 Use CModule::ExpandString 2013-01-20 10:39:50 +07:00
Alexey Sokolov 42cb0d7de7 It's 2013 now (few modules were forgotten :P) 2013-01-19 09:19:41 +07:00
Alexey Sokolov 142142d7c7 Merge pull request #281 from TheLordOfTime/master
Modify modules/sasl.cpp to have a DH-BLOWFISH mechanism description
2013-01-11 19:57:10 -08:00
TheLordOfTime 29d2ff001a modules/sasl.cpp: Description line for DH-BLOWFISH
Added a description to the output for DH-BLOWFISH SASL mechanism.
2013-01-11 21:39:51 -05:00
Alexey Sokolov ef59c23068 Merge pull request #268 from Un1matr1x/2013
2012 is over!
2013-01-01 11:23:28 -08:00
Un1matr1x 3a34593359 The same procedure as last year, Miss sophie?
Same procedure as every year, James.
2012-12-31 12:44:31 +01:00
Alexey Sokolov 27eb957964 Don't disconnect networkless users without PINGing them first.
Thanks to Austin for reporting this issue.
2012-12-27 01:40:13 +07:00
Uli Schlachter d9d6a2228c Fix OOT builds with swig files in source dir
Normally, when the Makefile calls swig, the resulting files end up in the build
directory. However, when the files are pre-generated (e.g. as in the znc 1.0
tarball) and an out of tree build is used, they are in the source directory and
installation fails.

Thanks to Kinji for reporting this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-12-26 14:12:58 +01:00
Alexey Sokolov 390957723c Fix changing client nick when client connects.
If nicks are equal, it's not changed. The problem was that equality was
checked case-insensitively.

This makes some clients which compare nicks case-sensitively think that
JOINs which we send to them, are not related to the user, it's someone
else joining. So Konversation users which have lower case version of
their IRC nick configured in Konversation settings, didn't get their
channel opened when connecting to ZNC.

Thanks to Axanon for helping to investigate the issue.
2012-12-26 00:36:49 +07:00
Alexey Sokolov 02504626bc Merge branch 'master' of github.com:znc/znc 2012-12-25 00:29:25 +07:00
Alexey Sokolov 412bdb7869 Fix my fix which was supposed to fix #220
Thanks to KindOne for reporting the issue with that fix.

363 numeric was sent twice to the client for attached channels.
2012-12-25 00:28:10 +07:00
Kyle Fuller 19de8d3565 Ignore the .version_extra file 2012-12-22 17:44:20 +00:00
Kyle Fuller 6a55c3a0ee Make /znc detach case insensitive
Closes #213
2012-12-22 17:41:24 +00:00
Kyle Fuller 9e7110175a DETACH should support the same syntax as PART (except no message)
Closes #225, this isn't the same as #225, but `/msg *status detach` is
something different, since it supports wildcard matching.
2012-12-22 17:16:57 +00:00
Alexey Sokolov 369f93cbbe Merge branch 'detached-fix' 2012-12-20 22:13:04 +07:00
Alexey Sokolov ebf9aebf51 Fix detached 363 too 2012-12-20 22:12:21 +07:00
Alexey Sokolov 65a51ead8e Merge commit 'refs/pull/263/head' of github.com:znc/znc 2012-12-20 21:51:27 +07:00
Alexey Sokolov c216c94696 Fix renaming away to awaystore for user modules.
When it was renamed, it already was a network module, and IRCNetwork got
a check for away module.
But users of 0.206 and earlier have this module loaded as user module,
they even can't have networks at all, so the renaming didn't go smooth
for them :(

It's broken in 1.0 already anyway, but users who skip 1.0 and upgrade
from older version to 1.2+ directly will be happier.

Thanks to Ammler (Marcel Gmür) for reporting it.
2012-12-20 21:41:24 +07:00
Alexey Sokolov 3e2152c77e Make default type of cert mod to be network. 2012-12-20 20:29:28 +07:00
Uli Schlachter 12d9aee507 Makefile: Fix generation of the VERSION_EXTRA flag
When you checkout the znc-1.0 tag and try to build znc, this will fail. The
reason is that "git describe" prints just "znc-1.0" and the sed-magic in the
Makefile fails to handle this correctly.

Fix this by moving this magic into a short shell script which doesn't try to
parse the output of "git describe" but instead gets its information from various
sources directly.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-12-16 18:48:17 +01:00
Alexey Sokolov f621627d0f Fix readme links again... 2012-12-16 09:42:05 +07:00
Alexey Sokolov 71cd9ea041 Fix readme links
Thanks to miniCruze for reporting it
2012-12-16 09:37:11 +07:00
Alexey Sokolov deb38b060e Check detachedness of chans. Fix #220 2012-12-08 23:22:02 +07:00
Uli Schlachter 8ffab186b4 CModule::OnMode(): Fix a stupid NULL pointer dereference
When joining a channel, OnMode() (via SetModes()) was called with pOpNick ==
NULL. This bad pointer was turned into a reference and given to modules.

This bug exists since 2008 when the OnMode() module call was added. It wasn't
noticed before because apparently no module used this CNick argument before.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-12-06 17:28:05 +01:00
Alexey Sokolov 2b51222245 Show example timezone in webadmin 2012-12-04 09:24:47 +07:00
Alexey Sokolov c06f95b452 Webadmin: Show instructions on how to use networks in Add Network too
not only in Edit Network
2012-12-02 19:28:02 +07:00
Alexey Sokolov cf8925c930 Webadmin: don't modify listeners if loaded as user mod
Thanks to TheLordOfTime
2012-12-01 14:28:07 +07:00
Alexey Sokolov 833e63fb64 Allow loading webadmin as user module. 2012-12-01 08:55:41 +07:00
Alexey Sokolov a095f49f95 Merge pull request #258 from Lavode/master
Fixed minor typo in webadmin module.
2012-11-28 05:52:27 -08:00
Michael Senn f70f1086fd Fixed minor typo in webadmin module. 2012-11-28 13:37:31 +01:00
Alexey Sokolov 1c8485cebe Update server-time to new specs with ISO 8601 2012-11-24 01:45:36 +07:00
Alexey Sokolov 4036114975 Add CModule::ExpandString()
It chooses which ExpandString() to call, of user or of network.
2012-11-23 21:40:30 +07:00
Daniel Wallace f941ee5870 remove pModule from Ismatch 2012-11-23 08:17:52 -05:00
Daniel Wallace 77e4ae5408 include Module when instantiating CAttachMatch
This allows for the use of stuff like %nick% through ExpandString in the
search feature.
2012-11-22 18:03:43 -05:00
Daniel Wallace addd047465 add string searching for autoattach 2012-11-21 23:03:27 -05:00
Alexey Sokolov 978e3b7832 Fix a typo and user modes.
Thanks to KindOne for noticing it.
2012-11-22 01:32:58 +07:00
Alexey Sokolov 94cce5ae38 Update Csocket, fix #254 2012-11-21 00:53:39 +07:00
Alexey Sokolov be77054136 Fix spelling error in blockuser.
Thanks to the-me (Patrick Matthäi) for the patch.
2012-11-15 21:13:22 +07:00
Alexey Sokolov 89f586d173 Merge commit 'refs/pull/188/head' of github.com:znc/znc
Conflicts:
	modules/watch.cpp
2012-11-08 20:28:43 +07:00
Alexey Sokolov a212f08129 Merge commit 'refs/pull/232/head' of github.com:znc/znc 2012-11-08 20:09:48 +07:00
Alexey Sokolov bf31091353 Merge commit 'refs/pull/231/head' of github.com:znc/znc 2012-11-07 22:12:12 +07:00