diff options
Diffstat (limited to 'weechat')
-rw-r--r-- | weechat/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weechat/net.c b/weechat/net.c index 8c6cee5..6324cb7 100644 --- a/weechat/net.c +++ b/weechat/net.c @@ -152,6 +152,8 @@ void net_handle_recv(int fd,const char *msg){ }; cb(fd,res,payload); free(res.name); + } else if(cmdlen==4&&memcmp(cmd,"ping",4)==0){ + // Do nothing } else if(cmdlen==4&&memcmp(cmd,"list",4)==0){ struct net_response res=(struct net_response){.type=NET_LIST}; if(*p=='\0'){ |