diff options
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r-- | src/modules/m_shun.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 5527bd6ad..55b7e94f9 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -243,7 +243,8 @@ class ModuleShun : public Module if (i == ShunEnabledCommands.end()) { - user->WriteServ("NOTICE %s :*** Command %s not processed, as you have been blocked from issuing commands (SHUN)", user->nick.c_str(), command.c_str()); + if (NotifyOfShun) + user->WriteServ("NOTICE %s :*** Command %s not processed, as you have been blocked from issuing commands (SHUN)", user->nick.c_str(), command.c_str()); return 1; } |