diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index 8a704e5f..5a6a42a6 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -1111,6 +1111,12 @@ hexchat_get_info (hexchat_plugin *ph, const char *id) case 0x339763: /* nick */ return sess->server->nick; + case 0x4889ba9b: /* password */ + case 0x438fdf9: /* nickserv */ + if (sess->server->network) + return ((ircnet *)sess->server->network)->pass; + return NULL; + case 0xca022f43: /* server */ if (!sess->server->connected) return NULL; |