diff options
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r-- | src/common/plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index b2b79386..8961f0d2 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -562,14 +562,14 @@ plugin_hook_run (session *sess, char *name, char *word[], char *word_eol[], int break; } - if ((ret & XCHAT_EAT_XCHAT) && (ret & XCHAT_EAT_PLUGIN)) + if ((ret & HEXCHAT_EAT_XCHAT) && (ret & HEXCHAT_EAT_PLUGIN)) { eat = 1; goto xit; } - if (ret & XCHAT_EAT_PLUGIN) + if (ret & HEXCHAT_EAT_PLUGIN) goto xit; /* stop running plugins */ - if (ret & XCHAT_EAT_XCHAT) + if (ret & HEXCHAT_EAT_XCHAT) eat = 1; /* eventually we'll return 1, but continue running plugins */ list = next; |