summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helperfuncs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 9bb843094..d8e718e48 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -196,9 +196,9 @@ void InspIRCd::WriteMode(const char* modes, int flags, const char* text, ...)
break;
}
}
+ if (send_to_user)
+ t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
- if (send_to_user)
- t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
else
if (flags == WM_OR)
@@ -216,9 +216,9 @@ void InspIRCd::WriteMode(const char* modes, int flags, const char* text, ...)
break;
}
}
+ if (send_to_user)
+ t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
- if (send_to_user)
- t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
}