diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 00:29:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 00:29:53 +0000 |
commit | e3bd782207f50d131acd008b0cbcc7545aac7690 (patch) | |
tree | bf302dd6406597a08d8b57bdbbfc1c237580757d /src/modules/m_randquote.cpp | |
parent | 89a8dff5f6853794364bc06ec04d05c6d988e4e2 (diff) |
More done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9759 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_randquote.cpp')
-rw-r--r-- | src/modules/m_randquote.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index 38c11ff95..d7acfadbe 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -40,11 +40,11 @@ class CommandRandquote : public Command { fsize = quotes->FileSize(); str = quotes->GetLine(rand() % fsize); - user->WriteServ("NOTICE %s :%s%s%s",user->nick,prefix.c_str(),str.c_str(),suffix.c_str()); + user->WriteServ("NOTICE %s :%s%s%s",user->nick.c_str(),prefix.c_str(),str.c_str(),suffix.c_str()); } else { - user->WriteServ("NOTICE %s :Your administrator specified an invalid quotes file, please bug them about this.", user->nick); + user->WriteServ("NOTICE %s :Your administrator specified an invalid quotes file, please bug them about this.", user->nick.c_str()); return CMD_FAILURE; } |