summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-30 20:56:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-30 20:56:20 +0000
commit81722ff786becb636b5f5d5d92fe51bdaab65589 (patch)
tree43af1426cc60af17d50a4dd4556a0c53769ed6cf /src/commands.cpp
parentd190f6e7c22d0b246a90f60dbadb7f8f44f0d813 (diff)
Tried a new way of doing remote versions
commented some users and connections code added remote @* notice git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1269 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 05e0a951c..d66c21125 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1876,9 +1876,13 @@ void handle_V(char token,char* params,serverrec* source,serverrec* reply, char*
if (user)
{
// notice all - only issuable by a server
- if (!strcmp(dest,"*"))
+ if (!strcmp(dest,"*"))
+ {
+ NoticeAll(user,true,"%s",text);
+ }
+ if (!strcmp(dest,"@*"))
{
- NoticeAll(user,true,"%s",text);
+ NoticeAllOpers(user,true,"%s",text);
}
else
{