diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-05-18 12:03:55 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-05-18 12:03:55 -0700 |
commit | 8f27fefa75e2952e7ab8757eb9fe4af4586817f0 (patch) | |
tree | 752def83ea80788d6a04fb8cc8358146915e7c4a /src/modules/m_sanick.cpp | |
parent | 143b2b081821f027eaa72be522ea691447980850 (diff) | |
parent | 5c9427cde0a949a17a476311db0a2a275345337b (diff) |
Merge pull request #543 from SaberUK/master+sizeparam-removal
Remove the size argument from IsChannel and IsNick.
Diffstat (limited to 'src/modules/m_sanick.cpp')
-rw-r--r-- | src/modules/m_sanick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp index 4ba420367..01899dd0a 100644 --- a/src/modules/m_sanick.cpp +++ b/src/modules/m_sanick.cpp @@ -54,7 +54,7 @@ class CommandSanick : public Command return CMD_FAILURE; } - if (!ServerInstance->IsNick(parameters[1], ServerInstance->Config->Limits.NickMax)) + if (!ServerInstance->IsNick(parameters[1])) { user->WriteNotice("*** Invalid nickname '" + parameters[1] + "'"); return CMD_FAILURE; |