diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 07:18:25 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 07:18:25 +0100 |
commit | 91dd079add901b219d0193c686f8232bc57965c9 (patch) | |
tree | 1a2c8081c24071b869fa81161872537fd9dda2c9 /plugins/sysinfo | |
parent | 50a233527687ed9c8c747a0c692fe477ae00483d (diff) |
Rebranding for XCHAT_PRI_*
Diffstat (limited to 'plugins/sysinfo')
-rw-r--r-- | plugins/sysinfo/sysinfo.cpp | 2 | ||||
-rw-r--r-- | plugins/sysinfo/xsys.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sysinfo/sysinfo.cpp b/plugins/sysinfo/sysinfo.cpp index d525e6b3..c14089e7 100644 --- a/plugins/sysinfo/sysinfo.cpp +++ b/plugins/sysinfo/sysinfo.cpp @@ -397,7 +397,7 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi firstRun = 1; - xchat_hook_command (ph, "SYSINFO", XCHAT_PRI_NORM, printInfo, NULL, NULL); + xchat_hook_command (ph, "SYSINFO", HEXCHAT_PRI_NORM, printInfo, NULL, NULL); xchat_command (ph, "MENU -ietc\\system.png ADD \"Window/Display System Info\" \"SYSINFO\""); xchat_printf (ph, "%s plugin loaded\n", name); diff --git a/plugins/sysinfo/xsys.c b/plugins/sysinfo/xsys.c index 8580445a..b8a6c7d5 100644 --- a/plugins/sysinfo/xsys.c +++ b/plugins/sysinfo/xsys.c @@ -847,9 +847,9 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi *plugin_version = version; char buffer[bsize]; - xchat_hook_command (ph, "SYSINFO", XCHAT_PRI_NORM, sysinfo_cb, sysinfo_help, NULL); - xchat_hook_command (ph, "NETDATA", XCHAT_PRI_NORM, netdata_cb, NULL, NULL); - xchat_hook_command (ph, "NETSTREAM", XCHAT_PRI_NORM, netstream_cb, NULL, NULL); + xchat_hook_command (ph, "SYSINFO", HEXCHAT_PRI_NORM, sysinfo_cb, sysinfo_help, NULL); + xchat_hook_command (ph, "NETDATA", HEXCHAT_PRI_NORM, netdata_cb, NULL, NULL); + xchat_hook_command (ph, "NETSTREAM", HEXCHAT_PRI_NORM, netstream_cb, NULL, NULL); /* this is required for the very first run */ if (xchat_pluginpref_get_str (ph, "pciids", buffer) == 0) |