attilamolnar
bb3aa2fb37
Stop recreating hashmaps every hour, move garbage collection code related to local users to UserManager
2013-04-04 19:23:16 +02:00
attilamolnar
7b823baf68
Line ending conversion
2013-04-04 19:21:03 +02:00
attilamolnar
f86f450701
Move whowas settings into cmd_whowas from ConfigReader
2013-04-04 19:05:20 +02:00
attilamolnar
8c08130e19
Make cmd_whowas act like a module, remove special handling
2013-04-04 19:05:20 +02:00
attilamolnar
886f1ba488
Convert InspIRCd::Duration() to be static
2013-04-03 15:54:28 +02:00
Attila Molnar
2bcb73e833
Merge pull request #460 from SaberUK/master+genssl-bugfix
...
Fix a small typo in genssl.
2013-04-02 13:21:31 -07:00
Peter Powell
14d2f191d3
Fix a small typo in genssl.
2013-04-02 21:17:11 +01:00
Attila Molnar
e440ec20a1
Merge pull request #459 from ChrisTX/insp20+fixgeoip
...
m_geoip: Fix compilation
2013-04-02 12:53:37 -07:00
ChrisTX
fc1b0f8d9d
m_geoip: Fix compilation
2013-04-02 21:51:25 +02:00
Attila Molnar
39d7c35914
Merge pull request #456 from SaberUK/master+genssl
...
Extract SSL generation to a tool which can be shipped by distros.
2013-04-02 10:28:04 -07:00
Peter Powell
448c50fa4d
Extract SSL generation to a tool which can be shipped by distros.
2013-04-02 16:34:28 +01:00
attilamolnar
26e7bb0b9a
Whitespace and empty destructor removal, minor coding style changes
2013-04-01 21:56:13 +02:00
attilamolnar
8584cc23f4
Ignore empty sid in ServerConfig::Fill()
2013-04-01 21:31:27 +02:00
Attila Molnar
66b90807bb
Merge pull request #452 from SaberUK/master+nuke-hashmap
...
Purge the deprecated hash_map from existance.
2013-04-01 09:50:50 -07:00
attilamolnar
80e88c163d
Move member variables from User to LocalUser
...
- idle_lastmsg
- dns_done
- quitting_sendq
- exempt
- lastping
2013-04-01 17:05:12 +02:00
attilamolnar
c1b376cd39
cmd_stats List opers without iterating the whole userlist
2013-04-01 17:00:01 +02:00
attilamolnar
713416ddfc
Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ strings as arguments instead of C strings
2013-04-01 16:20:35 +02:00
attilamolnar
6a080dfd91
Convert IsSID() to a static member function, modules shouldn't override it
2013-04-01 16:15:19 +02:00
attilamolnar
de9cf90b6b
Remove more deprecated code
...
- ConfigReader
- FloodQuitUserHandler
- IsValidModuleCommand
- CallCommandHandler
- DoCleanup from u_listmode.h
2013-04-01 16:10:45 +02:00
Attila Molnar
df2cbbe6e7
Merge pull request #454 from SaberUK/master+misc-improvements
...
Purge dead code and deprecated types.
2013-04-01 06:53:24 -07:00
Attila Molnar
ba49d8eeab
Merge pull request #455 from SaberUK/master+deprecation-macro
...
Add macro for marking methods as deprecated.
2013-04-01 06:40:35 -07:00
Peter Powell
f00ffba521
Purge references to the deprecated GetStackedLine method.
2013-04-01 10:43:12 +01:00
Peter Powell
d877be98d1
Purge the deprecated chanprotect module.
2013-04-01 10:43:12 +01:00
Peter Powell
6b71f21137
Remove some dead code:
...
- Conditions in m_httpd_stats which can never be true.
- Commented out code in m_sqloper.
- Unused macro in inspircd.h.
2013-04-01 10:42:23 +01:00
Peter Powell
52fa9f8fbc
Add macro for marking methods as deprecated.
2013-04-01 10:39:55 +01:00
Adam
65155ef5c5
Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810a0c2f4a4
2013-04-01 00:20:32 -05:00
Peter Powell
fd655fa93a
Purge the deprecated hash_map from existance.
2013-04-01 05:57:33 +01:00
attilamolnar
1cb05553e2
Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser() to std::string from char*
2013-04-01 02:13:43 +02:00
Adam
9b9140d5f8
Rewrote caller.h to be more C++11 ish, currently commented out pending whenever we decide to support some C++11 features
2013-03-31 19:08:36 -05:00
attilamolnar
d1b9bf8e35
New API version
2013-04-01 01:42:49 +02:00
attilamolnar
12872e3d4b
Change User::GetIPString() to return const std::string&
2013-04-01 01:27:02 +02:00
attilamolnar
d1a88f0957
m_samode Require an oper privilege to change the user modes of other users
...
Issue #417
2013-04-01 01:13:24 +02:00
attilamolnar
0115c77804
Send LUSERS before MOTD
...
Issue #399
2013-04-01 01:01:12 +02:00
attilamolnar
be9358c43f
Change the default value of <options:cyclehosts> to no
...
Issue #402
2013-04-01 00:58:44 +02:00
attilamolnar
56cae0f3a4
Remove legacy code, mostly related to 1.2 compatibility
2013-04-01 00:54:58 +02:00
attilamolnar
f62fb75d9d
Mark as version 2.2
masterfork
2013-03-31 20:23:47 +02:00
attilamolnar
8de053ee38
Minor update to example configs
2013-03-31 19:52:43 +02:00
attilamolnar
ee4289a9b6
Release 2.0.11
v2.0.11
2013-03-29 02:16:32 +01:00
attilamolnar
2ae964012e
cmd_kill Send snotice to servers when both the oper and the victim are on the same server
2013-03-29 01:31:57 +01:00
attilamolnar
3eeb85d3c5
Update doc and fix the description of m_allowinvite
2013-03-29 01:09:55 +01:00
attilamolnar
3135a6cc0e
m_ldapoper Make the module actually work
...
Fixes #439 reported by @rhylan
2013-03-29 01:09:34 +01:00
attilamolnar
c2549b0402
m_ldapoper Fix memory leak
...
See 1813369adecc1efc9812e90c40c21dc32e4965c9 for details
2013-03-29 01:09:34 +01:00
attilamolnar
4e9cfa5b3a
Fix premature overwriting of OLDTIME that resulted in time drifts never being detected
2013-03-28 15:06:47 +01:00
attilamolnar
63b7384092
cmd_lusers Fix miscounting
2013-03-27 21:49:59 +01:00
Attila Molnar
8d419c3873
Merge pull request #443 from ShutterQuick/sasl_external
...
Added support for SASL EXTERNAL
2013-03-26 09:41:48 -07:00
Daniel Vassdal
929ef50908
Added support for EXTERNAL
2013-03-25 23:38:48 +01:00
attilamolnar
31344bbedf
m_xline_db Fix pointless excessive stack usage in ReadDatabase()
2013-03-25 16:22:14 +01:00
attilamolnar
e55cafb93f
m_xline_db Major enhancements
...
- Save database on a timer, not on every single change
- Use the internal database instead of keeping track of xlines ourselves
2013-03-25 16:22:13 +01:00
attilamolnar
0ee7c0a97b
Accept -c as a command line argument (equivalent to --config)
2013-03-25 15:18:20 +01:00
ChrisTX
25aa230671
Win32: Rewrite the service wrapper
...
Edited original commit to pass MAX_PATH as nSize to GetModuleFileNameA() instead of 101 after approval from author @ChrisTX (Attila Molnar)
Fixes #404 reported by @crchauffe
2013-03-25 14:57:05 +01:00