summaryrefslogtreecommitdiff
path: root/src/zyklonb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zyklonb.c')
-rw-r--r--src/zyklonb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zyklonb.c b/src/zyklonb.c
index ca579d1..1d2388f 100644
--- a/src/zyklonb.c
+++ b/src/zyklonb.c
@@ -773,7 +773,7 @@ plugin_process_message (const struct irc_message *msg,
return;
const char *command = msg->params.vector[0];
- if (!strcasecmp (command, "register"))
+ if (!plugin->initialized && !strcasecmp (command, "register"))
{
// Register for relaying of IRC traffic
plugin->initialized = true;