projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another year is about to end... So we have to update these damn copyright information :P
[NeonServV5.git]
/
src
/
modcmd.c
diff --git
a/src/modcmd.c
b/src/modcmd.c
index 03b24d8351b984f6a9b53df311e9c79ce1ee0292..d4ed08b1ace4809a3a9794c2fc699a6887905e82 100644
(file)
--- a/
src/modcmd.c
+++ b/
src/modcmd.c
@@
-1,5
+1,5
@@
/* modcmd.c - NeonServ v5.3
/* modcmd.c - NeonServ v5.3
- * Copyright (C) 2011 Philipp Kreil (pk910)
+ * Copyright (C) 2011
-2012
Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-398,8
+398,12
@@
static void handle_command_async(struct ClientSocket *client, struct UserNode *u
requested_uaccess = 1;
uaccess = getChannelAccess(user, chan);
if(!uaccess) {
requested_uaccess = 1;
uaccess = getChannelAccess(user, chan);
if(!uaccess) {
- reply(tmp_text_client, user, "MODCMD_CROSSCHAN", chan->name);
- return;
+ if(isGodMode(user)) {
+ eventflags |= CMDFLAG_OPLOG;
+ } else {
+ reply(tmp_text_client, user, "MODCMD_CROSSCHAN", chan->name);
+ return;
+ }
}
}
}
}
}
}