diff options
| author | 2013-05-18 12:03:55 -0700 | |
|---|---|---|
| committer | 2013-05-18 12:03:55 -0700 | |
| commit | 8f27fefa75e2952e7ab8757eb9fe4af4586817f0 (patch) | |
| tree | 752def83ea80788d6a04fb8cc8358146915e7c4a /src/modules/m_nicklock.cpp | |
| parent | Merge pull request #541 from SaberUK/master+chanlog (diff) | |
| parent | Remove the size argument from IsChannel and IsNick. (diff) | |
Merge pull request #543 from SaberUK/master+sizeparam-removal
Remove the size argument from IsChannel and IsNick.
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; |
