aboutsummaryrefslogtreecommitdiff
path: root/weechat/net.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-04-15 18:53:00 +0200
committertomsmeding <tom.smeding@gmail.com>2017-04-15 19:04:18 +0200
commit95eec6affee455e1ba935a1781495682b2ee7e9a (patch)
tree0bec9887dc2d36c04413e0e1a5afa1f11a076455 /weechat/net.h
parente6bb11fc2801ca5be48ddceeecc5001cd5c39ef6 (diff)
weechat: Handle _push online
Diffstat (limited to 'weechat/net.h')
-rw-r--r--weechat/net.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/weechat/net.h b/weechat/net.h
index 7e18f4c..335664c 100644
--- a/weechat/net.h
+++ b/weechat/net.h
@@ -15,6 +15,7 @@ enum net_response_type{
NET_MESSAGE,
NET_JOIN,
NET_INVITE,
+ NET_ONLINE,
};
struct net_history_item{
@@ -43,6 +44,10 @@ struct net_response{
i64 timestamp;
char *message;
};
+ struct {
+ char *username;
+ i64 num;
+ } online;
};
};