Commit Graph

75 Commits

Author SHA1 Message Date
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
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
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
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
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
05cae3d281 Patched using reset_chans.patch by psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@772 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 20:47:43 +00:00
prozacx
59e2a419a7 Fixed bug with ctcp replies - thanks psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@769 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 18:36:03 +00:00
prozacx
994fb7b42f Patched using modified answer_pings_and_stuff.patch by psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@763 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 18:09:39 +00:00
prozacx
f5da0666d3 Applied clearmotdbuffer.patch from x-x
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@755 726aef4b-f618-498e-8847-2d620e286838
2006-09-15 22:56:25 +00:00
prozacx
6dcacaa79e Added contact info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@752 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:39:48 +00:00
prozacx
4384a80f1e Removed dupe code for buffer playback
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@734 726aef4b-f618-498e-8847-2d620e286838
2006-05-29 20:53:06 +00:00
prozacx
b1f73a78e2 Set the irc nick before we call the module hook OnIRCConnected() - thanks SilverLeo
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@733 726aef4b-f618-498e-8847-2d620e286838
2006-05-29 19:58:30 +00:00
prozacx
cd0e37c9ad Added error reporting and quit msgs as *status output
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@729 726aef4b-f618-498e-8847-2d620e286838
2006-05-02 01:16:38 +00:00
prozacx
b740d7cc36 Refactored module hook calling macros into one master macro
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@708 726aef4b-f618-498e-8847-2d620e286838
2006-03-22 08:02:37 +00:00
prozacx
0dd418181a Added CUser::IsBeingDeleted() to allow for different messaging when a user is being deleted vs detaching or disconnecting
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@703 726aef4b-f618-498e-8847-2d620e286838
2006-03-19 22:44:10 +00:00
prozacx
a9e60b43c5 Migrated away from CString::ToString() in favor of explicit constructors
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@669 726aef4b-f618-498e-8847-2d620e286838
2006-02-25 09:43:35 +00:00
prozacx
0eaf9bdc1e Wrapped TSocketManager into CSockManager
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@650 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 21:00:59 +00:00
prozacx
2cd52ad39a Added support for buffering of /me actions
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@602 726aef4b-f618-498e-8847-2d620e286838
2006-02-01 07:45:54 +00:00
prozacx
130b85cf35 Renamed CIRCSock::PutServ() to CIRCSock::PutIRC()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@585 726aef4b-f618-498e-8847-2d620e286838
2005-10-15 05:12:18 +00:00
prozacx
3cc202245d Renamed CClient::PutServ() to CClient::PutClient()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@583 726aef4b-f618-498e-8847-2d620e286838
2005-10-15 05:06:26 +00:00
prozacx
a490f62dde Renamed CUserSock to CClient
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@581 726aef4b-f618-498e-8847-2d620e286838
2005-10-15 03:55:09 +00:00
prozacx
b5a3cd3727 Fixed AwayNick timer and added BackNick timer
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@553 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 21:47:57 +00:00
prozacx
9ca189b92f Added better debugging output and fixed problem with server notices
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@550 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 19:32:37 +00:00
prozacx
aaec84a317 Added preliminary support for multiple clients per user
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@547 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 08:40:40 +00:00
prozacx
6d27d1c021 Removed const from args in a bunch of hooks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@538 726aef4b-f618-498e-8847-2d620e286838
2005-09-26 23:09:05 +00:00
prozacx
49d71a9b55 Removed const from CNick in priv/chan hooks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@537 726aef4b-f618-498e-8847-2d620e286838
2005-09-26 08:23:30 +00:00
prozacx
ba951747f9 Upgrading to CZNC::Get()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@507 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 02:27:39 +00:00
prozacx
c607844a1e Limit the length of the alt nick
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@435 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 01:57:38 +00:00
prozacx
3b8b29e8a3 Added flag to CChan to tell whether chan is in the config or not
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@427 726aef4b-f618-498e-8847-2d620e286838
2005-07-10 23:55:22 +00:00
prozacx
25bd2fb341 Changed CTCPReply to reply even when user is attached
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@417 726aef4b-f618-498e-8847-2d620e286838
2005-07-06 06:19:53 +00:00
prozacx
cb2d3da911 Keep track of the timers and delete them upon destruction
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@407 726aef4b-f618-498e-8847-2d620e286838
2005-07-04 23:26:47 +00:00
prozacx
3e0c33b053 Changed CString::Token() to split on a string rather than char
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@398 726aef4b-f618-498e-8847-2d620e286838
2005-06-30 21:51:41 +00:00
prozacx
18b6b2e754 Added CTCPReply config option and removed VersionReply
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@394 726aef4b-f618-498e-8847-2d620e286838
2005-06-28 07:25:28 +00:00
prozacx
cc81e52203 Added config option for bouncing dccs
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@388 726aef4b-f618-498e-8847-2d620e286838
2005-06-14 06:25:36 +00:00
prozacx
34321ba4d7 Added bForce to KeepNick() to be used when your original nick quits or changes nicks.. no need to wait for pending
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@374 726aef4b-f618-498e-8847-2d620e286838
2005-05-27 23:19:39 +00:00
prozacx
4508a9aeca Fixed flooding issue with KeepNick - only send NICK orignick after a 433 is sent back
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@372 726aef4b-f618-498e-8847-2d620e286838
2005-05-27 06:58:13 +00:00
prozacx
b148e65898 Call CChan::Reset() when disconnected
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@369 726aef4b-f618-498e-8847-2d620e286838
2005-05-26 21:12:57 +00:00
prozacx
3dde793e62 Added global module functionality
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@348 726aef4b-f618-498e-8847-2d620e286838
2005-05-22 00:47:36 +00:00
prozacx
94b37a2fd9 Added support for AwayPrefix
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@315 726aef4b-f618-498e-8847-2d620e286838
2005-05-16 05:07:26 +00:00
prozacx
ac19abcfa6 Added support for GetMaxNickLen() via ISUPPORT - Fixed bug with alt nick choosing
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@311 726aef4b-f618-498e-8847-2d620e286838
2005-05-16 01:27:31 +00:00
prozacx
0342ea84f0 Added owner/admin/halfops to default permissions
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@283 726aef4b-f618-498e-8847-2d620e286838
2005-05-14 00:27:31 +00:00
prozacx
93e5b8575b Added functionality for dynamic modes using ISUPPORT (raw 005)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@278 726aef4b-f618-498e-8847-2d620e286838
2005-05-13 23:22:55 +00:00
prozacx
3485364715 Added body to ParseISupport()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@263 726aef4b-f618-498e-8847-2d620e286838
2005-05-11 06:05:13 +00:00
prozacx
5c3266adfb Added ParseISupport() for raw 005
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@262 726aef4b-f618-498e-8847-2d620e286838
2005-05-11 05:27:54 +00:00
prozacx
55b21afa8b Added force = true to JoinUser() on attach
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@260 726aef4b-f618-498e-8847-2d620e286838
2005-05-10 22:42:36 +00:00
prozacx
428baad29e Changed references to strcasecmp over to CString::CaseCmp
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@253 726aef4b-f618-498e-8847-2d620e286838
2005-05-08 10:00:20 +00:00
prozacx
0823b27f37 Moved CUtils::wildcmp() into CString class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@251 726aef4b-f618-498e-8847-2d620e286838
2005-05-08 07:51:46 +00:00
prozacx
223a660ca1 Moved CUtils::ToString() into CString class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@248 726aef4b-f618-498e-8847-2d620e286838
2005-05-08 06:24:40 +00:00