Changes in / [aea22cd:3864c08]
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
raea22cd r3864c08 156 156 $(OTR_PI): %.so: $(SRCDIR)%.c 157 157 @echo '*' Building plugin $@ 158 @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@158 @$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS) 159 159 160 160 $(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c -
configure
raea22cd r3864c08 19 19 libevent='/usr/' 20 20 pidfile='/var/run/bitlbee.pid' 21 ipcsocket=' /var/run/bitlbee.sock'21 ipcsocket='' 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=... $ipcsocket70 69 71 70 --msn=0/1 Disable/enable MSN part $msn -
doc/user-guide/misc.xml
raea22cd r3864c08 191 191 192 192 <ircexample> 193 <ircline nick="wilmer">chan set &wlmfill_by account</ircline>193 <ircline nick="wilmer">chan &wlm set fill_by account</ircline> 194 194 <ircline nick="root">fill_by = `account'</ircline> 195 <ircline nick="wilmer">chan set &wlmaccount msn</ircline>195 <ircline nick="wilmer">chan &wlm set account msn</ircline> 196 196 <ircline nick="root">account = `msn'</ircline> 197 197 </ircexample> … … 204 204 205 205 <ircexample> 206 <ircline nick="wilmer">chan set &offlineshow_users offline</ircline>206 <ircline nick="wilmer">chan &offline set show_users offline</ircline> 207 207 <ircline nick="root">show_users = `offline'</ircline> 208 208 </ircexample> -
doc/user-guide/quickstart.xml
raea22cd r3864c08 72 72 </para> 73 73 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> 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> 75 77 76 78 <para> -
ipc.c
raea22cd r3864c08 909 909 int serversock; 910 910 911 if (!IPCSOCKET || !*IPCSOCKET) 912 return 1; 913 911 914 /* Clean up old socket files that were hanging around.. */ 912 915 if (unlink(IPCSOCKET) == -1 && errno != ENOENT) { -
irc_im.c
raea22cd r3864c08 193 193 } 194 194 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;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; 199 199 const char *dst; 200 200 char *prefix = NULL; 201 201 char *wrapped, *ts = NULL; 202 202 char *msg = g_strdup( msg_ ); 203 GSList *l; 204 203 205 if( sent_at > 0 && set_getbool( &irc->b->set, "display_timestamps" ) ) 204 206 ts = irc_format_timestamp( irc, sent_at ); 205 207 206 dst = irc_user_msgdest(iu); 207 if(dst != irc->user->nick) { 208 dst = irc_user_msgdest( iu ); 209 if( dst != irc->user->nick ) 210 { 208 211 /* if not messaging directly, call user by name */ 209 212 prefix = g_strdup_printf( "%s%s%s", irc->user->nick, set_getstr( &bee->set, "to_char" ), ts ? : "" ); 210 } else { 213 } 214 else 215 { 211 216 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; 226 char *msg = g_strdup( msg_ ); 227 GSList *l; 217 ts = NULL; /* don't double-free */ 218 } 228 219 229 220 for( l = irc_plugins; l; l = l->next ) … … 256 247 } 257 248 258 bee_irc_msg_from_user( iu, msg, sent_at ); 259 249 wrapped = word_wrap( msg, 425 ); 250 irc_send_msg( iu, "PRIVMSG", dst, wrapped, prefix ); 251 252 g_free( wrapped ); 253 g_free( prefix ); 260 254 g_free( msg ); 255 g_free( ts ); 256 261 257 return TRUE; 262 258 } -
irc_send.c
raea22cd r3864c08 110 110 } 111 111 112 /* Used by some funcs that generate PRIVMSGs to figure out if we're talking to 113 this person in /query or in a control channel. WARNING: callers rely on 114 this returning a pointer at irc->user_nick, not a copy of it. */ 112 115 const char *irc_user_msgdest( irc_user_t *iu ) 113 116 { -
protocols/oscar/oscar.c
raea22cd r3864c08 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 } 2104 2108 else 2105 2109 { -
protocols/twitter/twitter.h
raea22cd r3864c08 39 39 TWITTER_GOT_TIMELINE = 0x20000, 40 40 TWITTER_GOT_MENTIONS = 0x40000, 41 TWITTER_DOING_TIMELINE_SLOW = 0x80000, 41 42 } twitter_flags_t; 42 43 -
protocols/twitter/twitter_lib.c
raea22cd r3864c08 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 729 736 if (td->flags & TWITTER_DOING_TIMELINE) { 737 /* This shouldn't normally happen at all but I'm currently hunting a bug 738 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; 730 741 return; 731 742 }
Note: See TracChangeset
for help on using the changeset viewer.