diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-16 12:52:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-16 12:52:00 +0000 |
commit | 5fe79dba4225fc627cc04144b5906ee5455ba382 (patch) | |
tree | faef42a5848a4e0be3ab90fb1b839046635ad1ce /src/modules | |
parent | a33632a722ff73ae8f8f455c0f34def8b54ed06e (diff) |
This compiles again now -- would have been very unstable in its old state (oopsy)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5474 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 59aeb7725..a94c1ad41 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -366,7 +366,7 @@ virtual int OnUserPreNotice(userrec* user, void* dest, int target_type, std::str u->WriteServ("NOTICE %s :If you trust %s and were expecting this, you can type /DCCALLOW HELP for information on the DCCALLOW system.", u->nick, user->nick); } } - else if ((type == "CHAT") && (strcmp(blockchat, "yes") == 0)) + else if ((type == "CHAT") && (blockchat)) { user->WriteServ("NOTICE %s :The user %s is not accepting DCC CHAT requests from you.", user->nick, u->nick); u->WriteServ("NOTICE %s :%s (%s@%s) attempted to initiate a DCC CHAT session, which was blocked.", u->nick, user->nick, user->ident, user->dhost); |