aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-07 19:40:08 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-07 19:40:08 +0100
commit619dd1882deb7f507882748982744cc275dd92a9 (patch)
tree12a32823ff18163a849cf2d18b2aa6e74efbf01c /irc.h
parenta4d920bfc34db9ca9161ff3817385423e52b8c90 (diff)
Paste buffer functionality is back, now for users *and* rooms.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/irc.h b/irc.h
index 45fe131f..f694420d 100644
--- a/irc.h
+++ b/irc.h
@@ -108,10 +108,8 @@ typedef struct irc_user
irc_user_flags_t flags;
- char *sendbuf;
- int sendbuf_len;
- guint sendbuf_timer;
- //int sendbuf_flags;
+ GString *pastebuf;
+ guint pastebuf_timer;
struct bee_user *bu;
@@ -150,6 +148,9 @@ typedef struct irc_channel
GSList *users;
struct set *set;
+ GString *pastebuf;
+ guint pastebuf_timer;
+
const struct irc_channel_funcs *f;
void *data;
} irc_channel_t;