diff options
| author | 2021-04-04 23:42:15 +0100 | |
|---|---|---|
| committer | 2021-04-04 23:42:15 +0100 | |
| commit | 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch) | |
| tree | f5a81d03f572392e7547d58f979fdd488de6ff0b /src/modules/m_services_account.cpp | |
| parent | Remove the unused ExitCodes array. (diff) | |
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'src/modules/m_services_account.cpp')
| -rw-r--r-- | src/modules/m_services_account.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index db15f8c26..cdef9ec04 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -264,7 +264,6 @@ class ModuleServicesAccount // User is messaging a +M channel and is not registered or exempt. user->WriteNumeric(ERR_NEEDREGGEDNICK, targchan->name, "You need to be identified to a registered account to message this channel"); return MOD_RES_DENY; - break; } case MessageTarget::TYPE_USER: { @@ -278,7 +277,6 @@ class ModuleServicesAccount // User is messaging a +R user and is not registered or on an accept list. user->WriteNumeric(ERR_NEEDREGGEDNICK, targuser->nick, "You need to be identified to a registered account to message this user"); return MOD_RES_DENY; - break; } case MessageTarget::TYPE_SERVER: break; |
