summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2004-01-18 18:58:38 +0000
committerSebastien Helleu <flashcode@flashtux.org>2004-01-18 18:58:38 +0000
commit6d7afb96c1dab3004f28de0b92b2e6c27e72419b (patch)
tree21ee54622ba536ee2ad6cedff4731be3e3ec756c /src/irc
parent48941e3646c4a2f7beac8ca5acb6884fa05a9028 (diff)
downloadweechat-6d7afb96c1dab3004f28de0b92b2e6c27e72419b.zip
Fixed crash with /oper command
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/irc-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-send.c b/src/irc/irc-send.c
index e0b481e44..14b5ede12 100644
--- a/src/irc/irc-send.c
+++ b/src/irc/irc-send.c
@@ -622,7 +622,7 @@ irc_cmd_send_op (t_irc_server *server, int argc, char **argv)
int
irc_cmd_send_oper (t_irc_server *server, char *arguments)
{
- server_sendf (server, "OPER %s %s\r\n", arguments);
+ server_sendf (server, "OPER %s\r\n", arguments);
return 0;
}