summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2019-06-08 11:04:17 +0000
committerepoch <epoch@hack.thebackupbox.net>2019-06-08 11:04:17 +0000
commit5233bdf96e20f490a1535b8537209d31e0819415 (patch)
treebc9e1500de37d789b3749ab66d35015ba1865909
parentfb27e8a29e91f3f90d57f4eb9238a9ac3cb90b46 (diff)
downloadlibidc-5233bdf96e20f490a1535b8537209d31e0819415.tar.gz
libidc-5233bdf96e20f490a1535b8537209d31e0819415.zip
fixed PONG
-rw-r--r--ircify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ircify.c b/ircify.c
index f2dd643..5d5020a 100644
--- a/ircify.c
+++ b/ircify.c
@@ -13,7 +13,7 @@ char channel[256];
void irc_handler(struct shit *me,char *line) {
char tmp[1024];
if(!strncmp(line,"PING ",5)) {
- printf("PONG :%s\r\n",line+5);
+ printf("PONG %s\r\n",line+5);
fflush(stdout);
}
if(*line == ':') {