aboutsummaryrefslogtreecommitdiff
path: root/weechat/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'weechat/net.h')
-rw-r--r--weechat/net.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/weechat/net.h b/weechat/net.h
index 335664c..6348a89 100644
--- a/weechat/net.h
+++ b/weechat/net.h
@@ -11,19 +11,13 @@ enum net_response_type{
NET_NAME,
NET_LIST,
NET_PONG,
- NET_HISTORY,
NET_MESSAGE,
+ NET_HISTORY,
NET_JOIN,
NET_INVITE,
NET_ONLINE,
};
-struct net_history_item{
- char *username;
- i64 timestamp;
- char *message;
-};
-
struct net_response{
enum net_response_type type;
union {
@@ -35,10 +29,6 @@ struct net_response{
char **items;
};
struct {
- int nhistory;
- struct net_history_item *history;
- };
- struct {
char *room;
char *username;
i64 timestamp;