diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:54:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:54:16 +0000 |
commit | 098f4bdc41d230b20e243e7d3efc92b8b54c975d (patch) | |
tree | e3e7d4684db79798eb7e850ad78d84b481d5b79c /src/commands.cpp | |
parent | 4085f5dedc915399760ed14a6a9b404509aecf44 (diff) |
Added some stuff to diffrentiate between global and local Q/Z lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@724 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 8d3e087bd..69fea5ec5 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -2085,6 +2085,7 @@ void handle_add_sqline(char token,char* params,serverrec* source,serverrec* repl // we must update the creation time on this gline // now that we've added it, or it wont expire at the right time. qline_set_creation_time(mask,atoi(create_time)); + qline_make_global(mask); if (!atoi(duration)) { WriteOpers("*** %s Added permenant Q-Line on %s.",who,mask); @@ -2126,6 +2127,7 @@ void handle_add_szline(char token,char* params,serverrec* source,serverrec* repl // we must update the creation time on this gline // now that we've added it, or it wont expire at the right time. zline_set_creation_time(mask,atoi(create_time)); + zline_make_global(mask); if (!atoi(duration)) { WriteOpers("*** %s Added permenant Z-Line on %s.",who,mask); |