psychon
babc0f9f8b
Update Csocket
...
This fixes building with --disable-openssl
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@858 726aef4b-f618-498e-8847-2d620e286838
2007-11-02 08:37:35 +00:00
psychon
936c8f1cc9
Fix NAMESX / UHNAMES, round two (I already did so once -.-)
...
Only the first client having either one enabled got a proper reply, all the
following ones got an empty one.
And btw prettify this code a little. (That Token() stuff is gone)
(More lines removed then added if you dont count comments)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@857 726aef4b-f618-498e-8847-2d620e286838
2007-10-29 11:11:25 +00:00
psychon
434231f530
Fix a mem leak in ZNC core
...
CUser::DelChan() didn't actually delete anything, so if you joined much... well
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@856 726aef4b-f618-498e-8847-2d620e286838
2007-10-28 18:11:44 +00:00
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
52534f2d1f
Update Csocket
...
This fixes an unimportant leak (if ReadBuf or ReadLine returned by throwing an
exception a 4k buffer was leaked).
We only triggered this if we were shutting down and thus this leak is
unimportant to us.
Also remove the svn:keywords property from Csocket.h and .cpp so the $Revision$
strings from upstream aren't changed.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@854 726aef4b-f618-498e-8847-2d620e286838
2007-10-26 11:06:05 +00:00
psychon
a399197c61
Don't let AC_PROG_CXX influence our CXXFLAGS (why does it even bother trying? -.-)
...
<@x-x> cause AC_PROG_CXX sets CXXFLAGS to -O2 or something like that
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@853 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 18:35:08 +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
6258e629e2
Respect $CXXFLAGS environment var
...
This patch is from opensuse's ZNC source RPM
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@851 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 09:29:56 +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
7a157b26b3
Kill the docs dir and add a README file.
...
This README file was started on Sep 15 and now finally gets its big moment!
This file includes proposals from Kuja and prozac, thanks.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@848 726aef4b-f618-498e-8847-2d620e286838
2007-10-22 21:49:39 +00:00
psychon
dafa074b58
Fix sf.net bug 1804815.
...
We never called srand().
Thanks to feuerfuchs for reporting.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@847 726aef4b-f618-498e-8847-2d620e286838
2007-10-01 14:15:57 +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
71e6ea6e52
Merge rev 1036 from crox 'fixed some compile warnings'
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@844 726aef4b-f618-498e-8847-2d620e286838
2007-09-27 20:35:22 +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
64f70a7910
Fix compile error reported by N0S.
...
I guess I should test before committing -.-
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@842 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 11:50:40 +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
7f1feb3cb7
Don't handle USER lines at all when the client is already logged in.
...
Fix bug 1797023 from sf.net bug tracker. Thanks to Zigara.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@840 726aef4b-f618-498e-8847-2d620e286838
2007-09-18 14:39:54 +00:00
psychon
8a9ddda247
Only expand the PidFile config option when writing the pid file.
...
This way if we rewrite the config PidFile gets the same value it had when znc
was started.
-> we don't turn it into an absolute path which is bad if data dir is changed
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@839 726aef4b-f618-498e-8847-2d620e286838
2007-09-08 16:22:10 +00:00
psychon
67ae390458
Follow Csocket API change
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@838 726aef4b-f618-498e-8847-2d620e286838
2007-09-05 16:06:28 +00:00
psychon
b63b7d03d8
Updated to latest Csocket version which includes a fix for NetBSD 3.*
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@837 726aef4b-f618-498e-8847-2d620e286838
2007-09-04 15:12:22 +00:00
psychon
19f5753bb3
Clarify meaning of --datadir with an example
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@836 726aef4b-f618-498e-8847-2d620e286838
2007-09-03 20:18:43 +00:00
psychon
e37c654db5
Fix typo found by Alexander Graf (sohalt) <sohalt@gmail.com>
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@835 726aef4b-f618-498e-8847-2d620e286838
2007-09-02 09:06:14 +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
b6cd5b86e1
Add missing #includes for GCC 4.3 (Debian bug #417793 )
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@833 726aef4b-f618-498e-8847-2d620e286838
2007-08-20 07:44:15 +00:00
psychon
a1cf02b2ce
Eliminate some dead code and remove code duplication
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@832 726aef4b-f618-498e-8847-2d620e286838
2007-08-19 18:08:27 +00:00
psychon
990e83dbed
Remove unneeded )
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@831 726aef4b-f618-498e-8847-2d620e286838
2007-08-19 18:07:32 +00:00
psychon
bf7943cf35
Fix indentation.
...
x-x wanted it this way :p (and again he's right to want it)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@830 726aef4b-f618-498e-8847-2d620e286838
2007-08-19 16:23:48 +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
61ddeac102
Fix my broken indentation.
...
Thanks x-x for reporting this.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@828 726aef4b-f618-498e-8847-2d620e286838
2007-08-19 13:57:08 +00:00
psychon
cf77a2ea68
Increase version number to 0.051
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@827 726aef4b-f618-498e-8847-2d620e286838
2007-08-11 22:28:55 +00:00
psychon
a97e29749f
Mark version as 0.050, fix some spelling and regenerate configure
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@825 726aef4b-f618-498e-8847-2d620e286838
znc-0.050
2007-08-11 22:25:33 +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
9736711c03
Update to latest CSocket version.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@823 726aef4b-f618-498e-8847-2d620e286838
2007-08-07 22:58:23 +00:00
psychon
9ab4c3c384
Merge rev 1016 from x-x
...
'only listen on local IP'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@822 726aef4b-f618-498e-8847-2d620e286838
2007-08-07 22:48:25 +00:00
psychon
5b1e3bf600
Merge rev 1023 from crox.
...
'Do not use server cert as client cert'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@821 726aef4b-f618-498e-8847-2d620e286838
2007-08-07 20:08:09 +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
fd8570454e
This fixes sf.net bug 1765573 which is a NULL pointer dereference.
...
Patch was written/tested by x-x and I did the indentation.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@817 726aef4b-f618-498e-8847-2d620e286838
2007-08-05 19:43:25 +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
9f665430e4
Add -Woverloaded-virtual to CXXFLAGS and use tabs for indentation.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@815 726aef4b-f618-498e-8847-2d620e286838
2007-07-19 19:56:20 +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
d1de3746a8
Fix bug reported by bnovc - configure failing on fbsd
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@813 726aef4b-f618-498e-8847-2d620e286838
2007-07-14 19:09:13 +00:00
psychon
6197dbe4c7
Fix UHNAMES support
...
- messages from server werent parsed right (ident got messed up)
- ZNC generated joins (/detach #chan /join #chan) never included
the UHNAMES info.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@812 726aef4b-f618-498e-8847-2d620e286838
2007-07-13 17:36:13 +00:00
psychon
c0e3f3bb03
Add JoinTries config var which sets a limit for channel join tries to avoid
...
flood issues. This var defaults to 0 which means 'No Limit'.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@811 726aef4b-f618-498e-8847-2d620e286838
2007-07-04 20:15:10 +00:00
psychon
c94a5479b4
x-x noticed that we set the version number in AC_INIT and so can use that value later on
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@810 726aef4b-f618-498e-8847-2d620e286838
2007-06-15 21:37:04 +00:00
psychon
c38729854d
Poke around in configure.in
...
- use AC_ERROR instead of silently disabling features (so that one notices)
- remove redundant check for dlopen
- show a summary when configure finished
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@809 726aef4b-f618-498e-8847-2d620e286838
2007-06-15 21:10:35 +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