Changeset 6d212f4 for root_commands.c
- Timestamp:
- 2016-12-26T00:20:09Z (8 years ago)
- Branches:
- master
- Children:
- 59ccef5
- Parents:
- 7486853
- git-author:
- dequis <dx@…> (25-12-16 23:41:13)
- git-committer:
- dequis <dx@…> (26-12-16 00:20:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r7486853 r6d212f4 1222 1222 1223 1223 for (l = get_plugins(); l; l = l->next) { 1224 char *c; 1224 1225 info = l->data; 1225 irc_rootmsg(irc, format, info->name, info->version); 1226 1227 /* some purple plugins like to include several versions separated by newlines... */ 1228 if ((c = strchr(info->version, '\n'))) { 1229 char *version = g_strndup(info->version, c - info->version); 1230 irc_rootmsg(irc, format, info->name, version); 1231 g_free(version); 1232 } else { 1233 irc_rootmsg(irc, format, info->name, info->version); 1234 } 1226 1235 } 1227 1236 #endif
Note: See TracChangeset
for help on using the changeset viewer.