summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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())
{