diff options
| author | 2006-02-05 09:55:13 +0000 | |
|---|---|---|
| committer | 2006-02-05 09:55:13 +0000 | |
| commit | 4be4ccdf2628423644d42531322bea913dfe0191 (patch) | |
| tree | 0f3ec5572d2dd19598671a83281f1abf9cb2727a /include | |
| parent | Bug in code for syncing cbans (diff) | |
Add .c_str()'s to m_sqloper in call to OneOfMatches(), and change prototype of OneOfMatches to take const char* instead of char*. Either that or case all the .c_str()'s to lose the const :"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3091 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/cmd_oper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cmd_oper.h b/include/cmd_oper.h index 879671da6..e71ca07a6 100644 --- a/include/cmd_oper.h +++ b/include/cmd_oper.h @@ -28,7 +28,7 @@ #include "users.h" #include "channels.h" -bool OneOfMatches(char* host, char* hostlist); +bool OneOfMatches(const char* host, const char* hostlist); class cmd_oper : public command_t { |
