]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_customtitle.cpp
Add initial query support to m_mysql [patch by Athenon]
[user/henk/code/inspircd.git] / src / modules / m_customtitle.cpp
index 806f2194f17b45a2ae15b30e047f5ad3b18f4dd8..54dd9b0d065f760f09462ccfb0634205270b1df6 100644 (file)
@@ -101,7 +101,7 @@ class ModuleCustomTitle : public Module
 
 
        // :kenny.chatspike.net 320 Brain Azhrarn :is getting paid to play games.
-       int OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
+       ModResult OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
        {
                /* We use this and not OnWhois because this triggers for remote, too */
                if (numeric == 312)
@@ -114,7 +114,7 @@ class ModuleCustomTitle : public Module
                        }
                }
                /* Dont block anything */
-               return 0;
+               return MOD_RES_PASSTHRU;
        }
 
        // Whenever the linking module wants to send out data, but doesnt know what the data