aboutsummaryrefslogtreecommitdiffstats
path: root/irc_user.c
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_user.c
parenta4d920bfc34db9ca9161ff3817385423e52b8c90 (diff)
Paste buffer functionality is back, now for users *and* rooms.
Diffstat (limited to 'irc_user.c')
-rw-r--r--irc_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc_user.c b/irc_user.c
index 88db86d7..3305b072 100644
--- a/irc_user.c
+++ b/irc_user.c
@@ -103,8 +103,8 @@ int irc_user_free( irc_t *irc, irc_user_t *iu )
if( iu->nick != iu->user ) g_free( iu->user );
if( iu->nick != iu->host ) g_free( iu->host );
if( iu->nick != iu->fullname ) g_free( iu->fullname );
- g_free( iu->sendbuf );
- if( iu->sendbuf_timer ) b_event_remove( iu->sendbuf_timer );
+ g_free( iu->pastebuf );
+ if( iu->pastebuf_timer ) b_event_remove( iu->pastebuf_timer );
g_free( iu->key );
return 1;