diff options
author | Peter Powell <petpow@saberuk.com> | 2013-05-18 18:55:01 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-05-18 19:11:07 +0100 |
commit | 5c9427cde0a949a17a476311db0a2a275345337b (patch) | |
tree | bf4cea76e7270f476d3f19ec82db9885db9574c1 /src/modules/m_nicklock.cpp | |
parent | 6153822a2de1867b7b90b95e8ed9bc1a8c792c84 (diff) |
Remove the size argument from IsChannel and IsNick.
There was only one case (which was probably an error) where these
methods were not set to their ServerLimits value.
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r-- | src/modules/m_nicklock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index a6178fc5a..8e0d5ae7f 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -51,7 +51,7 @@ class CommandNicklock : public Command /* Do local sanity checks and bails */ if (IS_LOCAL(user)) { - if (!ServerInstance->IsNick(parameters[1], ServerInstance->Config->Limits.NickMax)) + if (!ServerInstance->IsNick(parameters[1])) { user->WriteNotice("*** Invalid nickname '" + parameters[1] + "'"); return CMD_FAILURE; |