Commit Graph

1648 Commits

Author SHA1 Message Date
psychon
ee350ab744 Change second argument to module in OnLoad() from sErrorMsg to sMessage.
This message is always displayed when the module returns (well, screw webadmin)
and this way a module can notify the user if it loaded but something unexpected
happened.

As you might guess, no one uses this ATM :)

Proposal comes from prozac


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@855 726aef4b-f618-498e-8847-2d620e286838
2007-10-28 17:57:07 +00:00
psychon
87d19870cd Merge sf.net patch 1812367 'Disable auto-rejoin on kick'
This removes the rejoin from core (the channel gets disabled) and adds
a kickrejoin module.

Thanks to cycomate for the original patch


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@852 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 17:44:12 +00:00
psychon
60a5e97c59 Fix modules/Makefile.in
- Perl module (*.pm) were not installed
- With -j stuff was (tried to) install before create_install_dir was ran


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@850 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 09:24:00 +00:00
psychon
69e076b166 chmod a-x graphiX's templates
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@849 726aef4b-f618-498e-8847-2d620e286838
2007-10-22 22:22:11 +00:00
psychon
5993255ac3 Fix some ICC warnings found by Kuja
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@846 726aef4b-f618-498e-8847-2d620e286838
2007-09-27 21:00:08 +00:00
psychon
fa7a588c81 Merge rev 1034 from crox 'fixed parentheses'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@845 726aef4b-f618-498e-8847-2d620e286838
2007-09-27 20:36:56 +00:00
psychon
a09a7e79f6 Switch to the copyright headers the GPLv2 wants us to have
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@843 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 18:55:33 +00:00
psychon
03e6d586c3 Remove antiidle module.
Antiidle utilities are bad as they waste bandwidth and might fill logs.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@841 726aef4b-f618-498e-8847-2d620e286838
2007-09-19 15:23:45 +00:00
psychon
303af16e67 Fix make install (modules weren't installed)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@834 726aef4b-f618-498e-8847-2d620e286838
2007-08-26 06:09:19 +00:00
psychon
6169df3f7a Rewrite Makefile.in, remove -s from no-debug
CXXFLAGS and auto-generate .depend if GCC is used.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@829 726aef4b-f618-498e-8847-2d620e286838
2007-08-19 15:27:16 +00:00
psychon
383f435728 Fix nickserv module which was broken by my last commit to it.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@824 726aef4b-f618-498e-8847-2d620e286838
2007-08-08 17:24:44 +00:00
psychon
eb850c933d Fix images.
Someone *cough* x-x *cough* didn't add the images as binary files.
Only the .ico files weren't broken. Fix this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@820 726aef4b-f618-498e-8847-2d620e286838
2007-08-07 20:05:57 +00:00
psychon
37d463cd32 partyline: Rewrite the whole fixed channel list when changing it instead of some
CString::Replace() magic.

This was inspired by sf.net bug 1762977 comment 2.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@819 726aef4b-f618-498e-8847-2d620e286838
2007-08-06 09:24:20 +00:00
psychon
014b830796 Fix sf.net bugs 1762981 and 1762977 and commit the patch from a comment in one
of them.

Now partyline doesn't segfault anymore if you remove a user which isn't there.

I think NULL pointers don't like me :/.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@818 726aef4b-f618-498e-8847-2d620e286838
2007-08-06 09:04:40 +00:00
psychon
ac805c59a9 Fix warnings from -Woverloaded-virtual.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@816 726aef4b-f618-498e-8847-2d620e286838
2007-07-19 22:28:54 +00:00
psychon
249d95a8aa Fix endless loop where nickserv answered
'Unknown command identify. Use /msg NickServ HELP' for help.

Thanks to SilverLeo for reporting this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@814 726aef4b-f618-498e-8847-2d620e286838
2007-07-17 10:45:19 +00:00
psychon
b45fb414cc Add nickserv module from my other branch
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@808 726aef4b-f618-498e-8847-2d620e286838
2007-06-07 19:28:29 +00:00
psychon
3ce22e5d45 small webadmin fixup
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@804 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:48:22 +00:00
psychon
a3b405bd07 sync from my branch rev 983 and 993:
- module api change, if module fails to load it can give back an useful error message
- give a message when client doesnt supply a password when connecting
- some minor cleanup


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@803 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:42:00 +00:00
psychon
d82eb75d1c merge rev 962;965;972-975:
- increased select timeout to 0.5 secs (this should save CPU time)
- added real-life ISpoof example to the example znc.conf
- make away module ignore message from the user (fixes antiidle together with away)
- show error message when webadmin cant bind to a port (improved later)
- fix /me, it was turned into a CTCP
- remove an extra space


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@802 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:35:17 +00:00
psychon
1fa9187be6 Revs 945-948;952-953:
- add timezone offset if server is in another timezone than the client
- add prependTimestamp
- add version number to configure.in
- write connect delay back into znc.conf


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@801 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:29:39 +00:00
psychon
f601db2cd8 merge with rev 932 psychon branch:
- module call for /me's
- timestamps for playback and query buffer
- WALLOP stuff / fix
- properly join channels _after_ namesx or uhnames were set up
- dont screw up raws on reconnect when you ran /lusers
- change default quit msg and version reply to CZNC::GetTag(false)
- change CZNC::GetTag() to point to sf.net
- kind of an rewrite for partyline, added fixed channels (this doesnt work on irssi,
		did it ever work?)
- add the timestamp support to webadmin too
- add ConnectDelay config option to avoid being killed because we connected too fast
- make znc handle usermodes correctly


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@799 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:13:17 +00:00
psychon
6a6ae0ed94 Add antiidle module and buffer WALLOPS in the query buffer
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@798 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 21:47:46 +00:00
prozacx
0a62274975 Committing patches from crox/psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@790 726aef4b-f618-498e-8847-2d620e286838
2007-03-12 06:26:54 +00:00
prozacx
5896ed7909 Relay messages to other clients of the current user
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@784 726aef4b-f618-498e-8847-2d620e286838
2006-11-15 22:24:09 +00:00
prozacx
0c7d2796ba Patched from psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@783 726aef4b-f618-498e-8847-2d620e286838
2006-10-05 20:52:50 +00:00
prozacx
58e261a90d Fixed unicode issue - thanks Kuja
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@780 726aef4b-f618-498e-8847-2d620e286838
2006-09-18 00:30:43 +00:00
prozacx
8207ef1739 Oops, wrong name
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@779 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 23:46:37 +00:00
prozacx
317fd56645 New module for keeping config up to date when user joins and parts
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@778 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 23:46:19 +00:00
prozacx
3213954f45 Use js to confirm deletion of users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@777 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 23:39:58 +00:00
prozacx
4c8e99afdb Moved sizes of some inputs into css
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@776 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 23:28:48 +00:00
prozacx
70aafdee8f Moved awaynick functionality into modules/awaynick.cpp module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@775 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 22:57:28 +00:00
prozacx
dd83d0604e Patched using webadmin_charset.patch by psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@774 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 21:17:47 +00:00
prozacx
fa3b955468 Added psycho's perform module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@771 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 20:29:33 +00:00
prozacx
f62bd6e5fc Patched using configureable_away_timer.patch by psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@764 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 18:11:35 +00:00
prozacx
32ce2bfe9c Removed extra join when topic is set - thanks psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@762 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 17:58:13 +00:00
prozacx
57e51d9f74 Patched using modified partyline_topics.patch by x-x
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@760 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 07:47:29 +00:00
prozacx
e06ca0d672 Added contact info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@753 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:48:28 +00:00
imaginos
44c5f4939d added with-modules-prefix and moved modules by default to PREFIX/libexec
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@751 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 04:11:16 +00:00
prozacx
ce9faadeb6 Added support for to talk unencrypted
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@746 726aef4b-f618-498e-8847-2d620e286838
2006-08-13 20:36:21 +00:00
prozacx
e8d5949857 Don't encrypt reference to message so that other modules can access it
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@744 726aef4b-f618-498e-8847-2d620e286838
2006-08-09 05:58:14 +00:00
imaginos
0b13897732 leave default behavior of not forcing
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@743 726aef4b-f618-498e-8847-2d620e286838
2006-07-23 04:02:53 +00:00
imaginos
6f759ca1a2 add back functionality to give an away reason
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@742 726aef4b-f618-498e-8847-2d620e286838
2006-07-23 04:01:44 +00:00
imaginos
d429f7bff8 only need perl_inc for this guy
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@740 726aef4b-f618-498e-8847-2d620e286838
2006-07-09 20:03:48 +00:00
imaginos
4338d9dda7 changed from char * to const char * argument per perlguts
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@739 726aef4b-f618-498e-8847-2d620e286838
2006-07-09 19:11:28 +00:00
prozacx
8acae63765 Skin translated to German by d4n13L
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@737 726aef4b-f618-498e-8847-2d620e286838
2006-06-18 23:55:32 +00:00
prozacx
a2a39993f3 German translation of skin - by d4n13L
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@736 726aef4b-f618-498e-8847-2d620e286838
2006-06-18 23:52:34 +00:00
prozacx
68f3521099 Use the error reporting and return code from CZNC::AddUser()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@726 726aef4b-f618-498e-8847-2d620e286838
2006-04-29 19:40:14 +00:00
imaginos
bb7094e149 added a quiet flag
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@719 726aef4b-f618-498e-8847-2d620e286838
2006-03-28 16:48:23 +00:00
prozacx
561360ada3 Only halt if the chan exists
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@710 726aef4b-f618-498e-8847-2d620e286838
2006-03-22 08:17:11 +00:00