summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-01 21:01:52 -0400
committerAdam <Adam@anope.org>2010-09-01 21:01:52 -0400
commit7a522d1c348ebab4a9fe5d90a91683ea10922973 (patch)
treee9b7e5c2e0f0c534022135d40968b8a69c83d9aa /modules/core
parentf2769273652f61f1d620c98a94b9c95983ed5647 (diff)
Only look up session exceptions if the user exceeds the session limit, really send akills for exceeding session limits, and fixed os akill del to really work
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/os_akill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_akill.cpp b/modules/core/os_akill.cpp
index f550938fb..abda0348a 100644
--- a/modules/core/os_akill.cpp
+++ b/modules/core/os_akill.cpp
@@ -219,7 +219,7 @@ class CommandOSAKill : public Command
CommandReturn DoDel(User *u, const std::vector<Anope::string> &params)
{
- Anope::string mask = params.size() > 1 ? params[0] : "";
+ Anope::string mask = params.size() > 1 ? params[1] : "";
if (mask.empty())
{