summaryrefslogtreecommitdiff
path: root/src/send.c
diff options
context:
space:
mode:
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];