Changeset 8e9e2b7 for root_commands.c
- Timestamp:
- 2010-10-03T02:45:26Z (14 years ago)
- Branches:
- master
- Children:
- 04f0c10
- Parents:
- 88de0c9 (diff), 2af3e23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r88de0c9 r8e9e2b7 1293 1293 { 1294 1294 int last = set_getint( &irc->b->set, "last_version" ); 1295 GString *msg = g_string_new( "" ); 1296 char s[16]; 1295 char s[16], *msg; 1297 1296 1298 1297 if( last >= BITLBEE_VERSION_CODE ) 1299 1298 return; 1300 1299 1301 if( last < 0x010206 ) /* 1.2.6 */ 1302 { 1303 g_string_append( msg, 1304 "Twitter support. See \x02help account add twitter\x02.\n" ); 1305 } 1306 if( last < 0x010300 ) /* 1.3dev */ 1307 { 1308 g_string_append( msg, 1309 "Support for multiple configurable control channels, " 1310 "each with a subset of your contact list. See " 1311 "\x02help channels\x02 for more information.\n" 1312 "File transfer support for some protocols (more if " 1313 "you use libpurple). Just /DCC SEND stuff. Incoming " 1314 "files also become DCC transfers.\n" 1315 "Many more things, briefly described in " 1316 "\x02help news1.3\x02.\n" ); 1317 } 1318 1319 if( msg->len > 0 ) 1300 msg = help_get_whatsnew( &(global.help), last ); 1301 1302 if( msg ) 1320 1303 irc_usermsg( irc, "%s: This seems to be your first time using this " 1321 1304 "this version of BitlBee. Here's a list of new " 1322 1305 "features you may like to know about:\n\n%s\n", 1323 irc->user->nick, msg->str ); 1324 1325 g_string_free( msg, TRUE ); 1306 irc->user->nick, msg ); 1307 1308 g_free( msg ); 1309 1326 1310 g_snprintf( s, sizeof( s ), "%d", BITLBEE_VERSION_CODE ); 1327 1311 set_setstr( &irc->b->set, "last_version", s );
Note: See TracChangeset
for help on using the changeset viewer.