Commit Graph

96 Commits

Author SHA1 Message Date
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
prozacx
c76b03b991 Changed from Move() to Copy() when backing up configs
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@449 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 04:12:43 +00:00
prozacx
29e14b42f5 Write config when deleting a user
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@446 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 03:20:06 +00:00
prozacx
1f090c4da2 Added WriteConfig()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@441 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 02:20:44 +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
96f1ab2763 Added AutoCycle to CUser
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@411 726aef4b-f618-498e-8847-2d620e286838
2005-07-05 09:23:04 +00:00
prozacx
c315a07d1e Added DeleteUser() FindUser() and a method for deleting users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@405 726aef4b-f618-498e-8847-2d620e286838
2005-07-04 23:14:43 +00:00
prozacx
878c5d5a2b Changed behavior to only prompt for config creation when --makeconf is supplied - stops crontab from spawning indefinately
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@402 726aef4b-f618-498e-8847-2d620e286838
2005-07-01 18:52:58 +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
150d39e534 Changed locations of some paths
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@383 726aef4b-f618-498e-8847-2d620e286838
2005-06-12 09:04:05 +00:00
prozacx
2d1560ae11 Changed perms of created config to 0600
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@375 726aef4b-f618-498e-8847-2d620e286838
2005-05-31 22:37:48 +00:00
prozacx
0983b52ba1 Added a timeout for when the server list is exausted
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@371 726aef4b-f618-498e-8847-2d620e286838
2005-05-27 00:18:58 +00:00
prozacx
1c90fd9beb Added output table of modules with descriptions
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@365 726aef4b-f618-498e-8847-2d620e286838
2005-05-26 20:41:45 +00:00