summaryrefslogtreecommitdiff
path: root/src/send.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-03 17:37:45 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-03 17:37:45 +0000
commitf09953561bebb310cfe6a534c1262d77433a4e42 (patch)
treef1c3f89d74931b5f191212a73c1513d19803ee0d /src/send.c
parent69ed36bbf5a6aebc34a5a86946398083a45ab981 (diff)
Merge commit 'cbx/anopeng-charfix' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/send.c b/src/send.c
index 82e6727ae..446020f35 100644
--- a/src/send.c
+++ b/src/send.c
@@ -54,6 +54,7 @@ void send_cmd(const char *source, const char *fmt, ...)
/*
* Copypasta version that accepts std::string source.
+ */
void send_cmd(const std::string &source, const char *fmt, ...)
{
va_list args;
@@ -91,7 +92,7 @@ void send_cmd(const std::string &source, const char *fmt, ...)
* @param ... any number of parameters
* @return void
*/
-void notice_server(char *source, Server * s, char *fmt, ...)
+void notice_server(char *source, Server * s, const char *fmt, ...)
{
va_list args;
char buf[BUFSIZE];