diff options
Diffstat (limited to '')
-rw-r--r-- | commands.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -184,6 +184,14 @@ int spam_command(struct string sender, struct string original_message, struct st return 0; } + + if (cmd->func == spam_command) { + SEND(STRING(":1HC000000 NOTICE ")); + SEND(to); + SEND(STRING(" :Spam recursion is not allowed. The limit is for your own sake, please do not violate it.\n")); + + return 0; + } } } else { SEND(STRING(":1HC000000 NOTICE ")); |