diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 00:07:53 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 00:07:53 +0000 |
| commit | 87c8744724cc43ac8cd45b09967227514da064a0 (patch) | |
| tree | 85f266009894ee86b208ecf105eb91491e7f2038 /src/modules/os_info.c | |
| parent | 6f9f2617e7af08f30177c9c8a7650b6df9abd9d6 (diff) | |
Fixed compile errors within src/modules/*.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2001 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/os_info.c')
| -rw-r--r-- | src/modules/os_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/os_info.c b/src/modules/os_info.c index d68cd0f96..7d4b7be8c 100644 --- a/src/modules/os_info.c +++ b/src/modules/os_info.c @@ -220,7 +220,7 @@ class CommandCSOInfo : public Command return MOD_CONT; } public: - CommandCSOInfo : Command("OINFO", 2, 3) + CommandCSOInfo() : Command("OINFO", 2, 3) { } @@ -261,7 +261,7 @@ class CommandCSInfo : public Command CommandReturn Execute(User *u, std::vector<std::string> ¶ms) { - char *chan = params[0].c_str(); + const char *chan = params[0].c_str(); ChannelInfo *ci = NULL; if (is_oper(u)) /* Only show our goodies to opers */ |
