projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added cmd_register
[NeonServV5.git]
/
modcmd.c
diff --git
a/modcmd.c
b/modcmd.c
index c480529e9389d0dcf9f5e272b3e96ba5734be21e..32011f2a6c82eb58d4001720499828b7465ce28d 100644
(file)
--- a/
modcmd.c
+++ b/
modcmd.c
@@
-138,7
+138,7
@@
static void handle_command(struct ClientSocket *client, struct UserNode *user, s
}
}
argv = arga;
- if(argc != 0 && argv[0][0] == '#') {
+ if(argc != 0 && argv[0][0] == '#'
&& !(cbind->func->flags & CMDFLAG_CHAN_PARAM)
) {
struct ChanNode *chan2 = getChanByName(argv[0]);
if(chan2) {
argv += 1;