diff options
| author | 2013-05-18 18:55:01 +0100 | |
|---|---|---|
| committer | 2013-05-18 19:11:07 +0100 | |
| commit | 5c9427cde0a949a17a476311db0a2a275345337b (patch) | |
| tree | bf4cea76e7270f476d3f19ec82db9885db9574c1 /src/modules/m_ojoin.cpp | |
| parent | Added a function to replace all the ugly sprintf-ing everywhere (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_ojoin.cpp')
| -rw-r--r-- | src/modules/m_ojoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp index c99e24b0f..35d90b23e 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -60,7 +60,7 @@ class CommandOjoin : public SplitCommand CmdResult HandleLocal(const std::vector<std::string>& parameters, LocalUser* user) { // Make sure the channel name is allowable. - if (!ServerInstance->IsChannel(parameters[0], ServerInstance->Config->Limits.ChanMax)) + if (!ServerInstance->IsChannel(parameters[0])) { user->WriteNotice("*** Invalid characters in channel name or name too long"); return CMD_FAILURE; |
