summaryrefslogtreecommitdiff
path: root/src/cmd_notice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_notice.cpp')
-rw-r--r--src/cmd_notice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp
index 6c0336fa5..d947c70be 100644
--- a/src/cmd_notice.cpp
+++ b/src/cmd_notice.cpp
@@ -85,7 +85,7 @@ CmdResult cmd_notice::Handle (const char** parameters, int pcnt, userrec *user)
if (MOD_RESULT) {
return CMD_FAILURE;
}
- parameters[1] = (char*)temp.c_str();
+ parameters[1] = temp.c_str();
if (temp == "")
{