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
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
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
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
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
f8bb245c36
Patched using fix_no_modules_support.patch by psycho
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@768 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 18:26:36 +00:00
prozacx
0f85fee9e6
Patched using linenumbers.patch from x-x
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@756 726aef4b-f618-498e-8847-2d620e286838
2006-09-15 23:09:13 +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
imaginos
18f1274913
fixed use of --encrypt-pem
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@730 726aef4b-f618-498e-8847-2d620e286838
2006-05-04 12:02:36 +00:00
prozacx
e8d176ea93
Added code to let CUser know it is being deleted, and added error return to AddUser()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@725 726aef4b-f618-498e-8847-2d620e286838
2006-04-29 19:38:56 +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
49e98202a2
Don't allow @ and . to make their way from username to nick/altnick/ident
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@704 726aef4b-f618-498e-8847-2d620e286838
2006-03-20 00:26:53 +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
57fb9fc867
Added OnDeleteUser() global module hook
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@702 726aef4b-f618-498e-8847-2d620e286838
2006-03-19 22:13:02 +00:00
prozacx
b8c4fc760a
Added a timer to ping inactive clients
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@670 726aef4b-f618-498e-8847-2d620e286838
2006-02-26 09:42:13 +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
51021e706b
No longer need ipv6 for outgoing connections
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@655 726aef4b-f618-498e-8847-2d620e286838
2006-02-13 06:12:38 +00:00
prozacx
12cc6af48c
No longer need Server6
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@652 726aef4b-f618-498e-8847-2d620e286838
2006-02-13 05:41:50 +00:00
prozacx
3d7bf1fce8
Delete the clients and modules before the user
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@649 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 10:09:00 +00:00
prozacx
ca8247058f
Added ipv6 support and multiple listen ports
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@641 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 10:06:45 +00:00
prozacx
f657ac6b05
Fixed support for compiling without modules
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@635 726aef4b-f618-498e-8847-2d620e286838
2006-02-10 06:28:51 +00:00
prozacx
2a32927dc7
Moved static allocator into cpp file
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@606 726aef4b-f618-498e-8847-2d620e286838
2006-02-06 02:03:38 +00:00
prozacx
7129402cc9
Clear out listen host if not specified
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@589 726aef4b-f618-498e-8847-2d620e286838
2005-12-27 23:32:08 +00:00
prozacx
ef9d9b217a
Added ListenHost for binding to a specific ip instead of inaddr_any
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@588 726aef4b-f618-498e-8847-2d620e286838
2005-12-27 19:19:05 +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
d2e7285070
Added MOTD support
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@571 726aef4b-f618-498e-8847-2d620e286838
2005-10-13 05:31:42 +00:00
prozacx
8f0fc2fa07
Fixed build for non ssl
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@558 726aef4b-f618-498e-8847-2d620e286838
2005-10-10 05:16:38 +00:00
prozacx
bf1715973b
Added prompt for pem file generation
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@557 726aef4b-f618-498e-8847-2d620e286838
2005-10-10 04:33:30 +00:00
prozacx
e3b723de5b
Made multiple clients per user a config option
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@556 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 23:19:07 +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
a3c71606a4
Fixed whitespace
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@528 726aef4b-f618-498e-8847-2d620e286838
2005-09-24 05:14:34 +00:00
prozacx
ef1c8de55a
Added concept of Admin to users
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@526 726aef4b-f618-498e-8847-2d620e286838
2005-09-24 04:29:11 +00:00
prozacx
aac3cdffd9
Commented out some debug prints
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@510 726aef4b-f618-498e-8847-2d620e286838
2005-09-20 01:55:04 +00:00
prozacx
89e5079ce9
Upgrading to CZNC::Get()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@508 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 04:09:37 +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
d6351cc17b
Removed CUserSock::SetZNC()
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@506 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 02:23:39 +00:00
prozacx
80a84ba47b
Truncate existing config if we are overwriting
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@482 726aef4b-f618-498e-8847-2d620e286838
2005-09-11 17:37:04 +00:00
prozacx
947c5a74db
Unlock the config when we're done
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@480 726aef4b-f618-498e-8847-2d620e286838
2005-09-09 06:58:14 +00:00
prozacx
92ebeef3b9
Don't try the lock until we know the file exists
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@478 726aef4b-f618-498e-8847-2d620e286838
2005-09-09 04:47:32 +00:00
prozacx
94630d2b74
Launch znc if user answers 'yes'
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@477 726aef4b-f618-498e-8847-2d620e286838
2005-09-09 04:39:49 +00:00
prozacx
967cf857a3
In WriteConfig() - add + to port when listening in ssl - Thanks to Kuja for finding this bug
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@475 726aef4b-f618-498e-8847-2d620e286838
2005-09-08 18:48:11 +00:00
prozacx
44d38b7714
Don't truncate version tag
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@469 726aef4b-f618-498e-8847-2d620e286838
2005-09-07 05:45:56 +00:00
prozacx
c26dc39342
Changed domain from gmail to rottenboy
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@465 726aef4b-f618-498e-8847-2d620e286838
2005-09-07 01:35:47 +00:00
prozacx
7cb1d2f958
Added some helper functions
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@455 726aef4b-f618-498e-8847-2d620e286838
2005-08-02 17:44:46 +00:00
prozacx
573c4be436
Added global vhosts and getters/setters for ISpoof*
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@453 726aef4b-f618-498e-8847-2d620e286838
2005-07-19 05:19:48 +00:00