summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.c b/src/users.c
index f49929d7e..54cc6b22b 100644
--- a/src/users.c
+++ b/src/users.c
@@ -300,7 +300,7 @@ User::~User()
alog("debug: User::~User() done");
}
-void User::SendMessage(const char *source, const char *fmt, ...)
+void User::SendMessage(const std::string &source, const char *fmt, ...)
{
va_list args;
char buf[BUFSIZE];
@@ -317,7 +317,7 @@ void User::SendMessage(const char *source, const char *fmt, ...)
}
}
-void User::SendMessage(const char *source, const std::string &msg)
+void User::SendMessage(const std::string &source, const std::string &msg)
{
/* Send privmsg instead of notice if:
* - UsePrivmsg is enabled