Commit Graph

2038 Commits

Author SHA1 Message Date
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
psychon 0a0c826043 Regenerate configure (once again) and indent CZNC::UpdateTrafficStats() with *tabs*
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@807 726aef4b-f618-498e-8847-2d620e286838
2007-05-17 19:11:30 +00:00
psychon b772e2664e Merged rev 838,888,890,894,899,900,902-904,926,934,963,984-989 from crox's branch:
- Changes to specfile
- define PATH_MAX and RTLD_LOCAL if not defines
- compile fixes
- SetFileName should not set m_iFD
- check for cygwin and do not use -fPIC
- replaced if ... elif with case in configure.in
- handle 437 reply code
- allow disabled channels
- use strerror() in CIRCSock::SockError()
- added GetUser() to CClient and CIRCSock
- added support for traffic accounting
- added names to timers


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@806 726aef4b-f618-498e-8847-2d620e286838
2007-05-17 19:09:17 +00:00
psychon 4f7b904651 - Added note to keep version number in sync between main.h and configure.in
- regenerated configure


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@805 726aef4b-f618-498e-8847-2d620e286838
2007-05-17 10:17:52 +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 9b671ee976 merge rev 936, 939-943 from psychon branch:
- if a client connected before znc connected to irc and if it uses a wrong nick it
   wasnt informed of this -> fixed
- znc.cpp didnt work with --disable-modules
- some stuff which was already merged previously


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@800 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:20:10 +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
psychon ecdb78604d Correct the version numbers, tag is 0.047 and trunk is 0.048
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@797 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 20:15:10 +00:00
prozacx 0fcd922948 Kuja is now hosting the wiki.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@795 726aef4b-f618-498e-8847-2d620e286838
znc-0.047
2007-05-15 22:19:13 +00:00
psychon 03ac38bac0 Regenerate configure (configure.in changed) and update config.{guess,sub} to a recent version
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@794 726aef4b-f618-498e-8847-2d620e286838
2007-04-11 15:24:05 +00:00
psychon 759d11fcdb Fix which makes --enable-modules enable the modules, not disable them
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@793 726aef4b-f618-498e-8847-2d620e286838
2007-04-11 15:19:31 +00:00
psychon c9e8691229 Honour --datadir when restarting ZNC
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@792 726aef4b-f618-498e-8847-2d620e286838
2007-04-11 15:18:21 +00:00
prozacx e8c3ebf477 Applied patches from psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@791 726aef4b-f618-498e-8847-2d620e286838
2007-03-21 16:13:08 +00:00