Changes in / [3864c08:aea22cd]
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r3864c08 raea22cd 156 156 $(OTR_PI): %.so: $(SRCDIR)%.c 157 157 @echo '*' Building plugin $@ 158 @$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS)158 @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ 159 159 160 160 $(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c -
configure
r3864c08 raea22cd 19 19 libevent='/usr/' 20 20 pidfile='/var/run/bitlbee.pid' 21 ipcsocket=' '21 ipcsocket='/var/run/bitlbee.sock' 22 22 pcdir='$prefix/lib/pkgconfig' 23 23 systemlibdirs="/lib /lib64 /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64" … … 67 67 --pidfile=... $pidfile 68 68 --config=... $config 69 --ipcsocket=... $ipcsocket 69 70 70 71 --msn=0/1 Disable/enable MSN part $msn -
doc/user-guide/misc.xml
r3864c08 raea22cd 191 191 192 192 <ircexample> 193 <ircline nick="wilmer">chan &wlm setfill_by account</ircline>193 <ircline nick="wilmer">chan set &wlm fill_by account</ircline> 194 194 <ircline nick="root">fill_by = `account'</ircline> 195 <ircline nick="wilmer">chan &wlm setaccount msn</ircline>195 <ircline nick="wilmer">chan set &wlm account msn</ircline> 196 196 <ircline nick="root">account = `msn'</ircline> 197 197 </ircexample> … … 204 204 205 205 <ircexample> 206 <ircline nick="wilmer">chan &offline setshow_users offline</ircline>206 <ircline nick="wilmer">chan set &offline show_users offline</ircline> 207 207 <ircline nick="root">show_users = `offline'</ircline> 208 208 </ircexample> -
doc/user-guide/quickstart.xml
r3864c08 raea22cd 72 72 </para> 73 73 74 <para> 75 Finally, if you have multiple users with similar names you may use the <emphasis>rename</emphasis> command to make it easier to remember: <emphasis>rename r2d2_ r2d2_aim</emphasis> 76 </para> 74 <para>Finally, if you have multiple users with similar names you may use the <emphasis>rename</emphasis> command to make it easier to remember: <emphasis>rename r2d2_ r2d2_aim</emphasis> 77 75 78 76 <para> -
ipc.c
r3864c08 raea22cd 909 909 int serversock; 910 910 911 if (!IPCSOCKET || !*IPCSOCKET)912 return 1;913 914 911 /* Clean up old socket files that were hanging around.. */ 915 912 if (unlink(IPCSOCKET) == -1 && errno != ENOENT) { -
irc_im.c
r3864c08 raea22cd 193 193 } 194 194 195 static gboolean bee_irc_user_msg( bee_t *bee, bee_user_t *bu, const char *msg_, time_t sent_at )196 { 197 irc_t *irc = bee->ui_data;198 irc_user_t *iu = (irc_user_t *) bu->ui_data;195 static void bee_irc_msg_from_user( irc_user_t *iu, const char *msg, time_t sent_at ) 196 { 197 irc_t *irc = iu->irc; 198 bee_t *bee = irc->b; 199 199 const char *dst; 200 200 char *prefix = NULL; 201 201 char *wrapped, *ts = NULL; 202 203 if( sent_at > 0 && set_getbool( &irc->b->set, "display_timestamps" ) ) 204 ts = irc_format_timestamp( irc, sent_at ); 205 206 dst = irc_user_msgdest(iu); 207 if(dst != irc->user->nick) { 208 /* if not messaging directly, call user by name */ 209 prefix = g_strdup_printf( "%s%s%s", irc->user->nick, set_getstr( &bee->set, "to_char" ), ts ? : "" ); 210 } else { 211 prefix = ts; 212 ts = NULL; /* don't doulbe-free */ 213 } 214 215 wrapped = word_wrap( msg, 425 ); 216 irc_send_msg( iu, "PRIVMSG", dst, wrapped, prefix ); 217 218 g_free( wrapped ); 219 g_free( prefix ); 220 g_free( ts ); 221 } 222 223 static gboolean bee_irc_user_msg( bee_t *bee, bee_user_t *bu, const char *msg_, time_t sent_at ) 224 { 225 irc_user_t *iu = (irc_user_t *) bu->ui_data; 202 226 char *msg = g_strdup( msg_ ); 203 227 GSList *l; 204 205 if( sent_at > 0 && set_getbool( &irc->b->set, "display_timestamps" ) )206 ts = irc_format_timestamp( irc, sent_at );207 208 dst = irc_user_msgdest( iu );209 if( dst != irc->user->nick )210 {211 /* if not messaging directly, call user by name */212 prefix = g_strdup_printf( "%s%s%s", irc->user->nick, set_getstr( &bee->set, "to_char" ), ts ? : "" );213 }214 else215 {216 prefix = ts;217 ts = NULL; /* don't double-free */218 }219 228 220 229 for( l = irc_plugins; l; l = l->next ) … … 247 256 } 248 257 249 wrapped = word_wrap( msg, 425 ); 250 irc_send_msg( iu, "PRIVMSG", dst, wrapped, prefix ); 251 252 g_free( wrapped ); 253 g_free( prefix ); 258 bee_irc_msg_from_user( iu, msg, sent_at ); 259 254 260 g_free( msg ); 255 g_free( ts );256 257 261 return TRUE; 258 262 } -
irc_send.c
r3864c08 raea22cd 110 110 } 111 111 112 /* Used by some funcs that generate PRIVMSGs to figure out if we're talking to113 this person in /query or in a control channel. WARNING: callers rely on114 this returning a pointer at irc->user_nick, not a copy of it. */115 112 const char *irc_user_msgdest( irc_user_t *iu ) 116 113 { -
protocols/oscar/oscar.c
r3864c08 raea22cd 2102 2102 aim_ssi_addbuddies( sess, fr->conn, OSCAR_GROUP, &list, 1, 1 ); 2103 2103 } 2104 else if( st == 0x0A )2105 {2106 imcb_error( sess->aux_data, "Buddy %s is already in your list", list );2107 }2108 2104 else 2109 2105 { -
protocols/twitter/twitter.h
r3864c08 raea22cd 39 39 TWITTER_GOT_TIMELINE = 0x20000, 40 40 TWITTER_GOT_MENTIONS = 0x40000, 41 TWITTER_DOING_TIMELINE_SLOW = 0x80000,42 41 } twitter_flags_t; 43 42 -
protocols/twitter/twitter_lib.c
r3864c08 raea22cd 727 727 gboolean include_mentions = set_getbool(&ic->acc->set, "fetch_mentions"); 728 728 729 if ((td->flags & 0xf0000) == (TWITTER_DOING_TIMELINE | TWITTER_DOING_TIMELINE_SLOW)) {730 imcb_log(ic, "Connection seems to have stalled again.\n"731 "This is a known bug, if you see this happen a lot "732 "please generate some traffic dumps.");733 td->flags &= ~0xf0000;734 }735 736 729 if (td->flags & TWITTER_DOING_TIMELINE) { 737 /* This shouldn't normally happen at all but I'm currently hunting a bug738 where it does. Instead of having users suffer under it, have a work-739 around with a warning. */740 td->flags |= TWITTER_DOING_TIMELINE_SLOW;741 730 return; 742 731 }
Note: See TracChangeset
for help on using the changeset viewer.