summaryrefslogtreecommitdiff
path: root/src/modules/os_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/os_info.c')
-rw-r--r--src/modules/os_info.c4
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> &params)
{
- 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 */