diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-22 15:10:11 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-22 15:10:11 +0000 |
commit | 30b22d2b48ecdeac906c69fb28d6df2ef782f792 (patch) | |
tree | f0ee3f773cabcd79b34a440910c364e49e090bea /src/modules.cpp | |
parent | 56aff87a0c71c2b5af26dcc754391307594572b1 (diff) |
Added OnOperCompare function to override strcmp in password check for /oper
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1161 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 50b9bdbc2..83abb6e57 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -405,7 +405,7 @@ int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic) int Module::OnMeshToken(char token,string_list params,serverrec* source,serverrec* reply, std::string tcp_host,std::string ipaddr,int port) { return 0; }; void Module::OnEvent(Event* event) { return; }; char* Module::OnRequest(Request* request) { return NULL; }; - +int Module::OnOperCompare(std::string password, std::string input) { return 0; }; // server is a wrapper class that provides methods to all of the C-style // exports in the core |