diff options
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index bde7dda20..8de1e6c87 100644 --- a/src/process.c +++ b/src/process.c @@ -254,13 +254,15 @@ void process() Bahmut ircd aliases but not for pseudo clients on. So additional logic is
that if the ac is greater then 1 copy av[1] else copy av[0]
I also changed from if statments, cause attempting to access a array member
- that is not set can lead to odd things - TSL (3/12/06) */ + that is not set can lead to odd things - TSL (3/12/06) */ if (!anope_set_mod_current_buffer(ac, av)) { if (ac >= 1) { if (nickIsServices(av[0], 1)) { - mod_current_buffer = (ac > 1 ? sstrdup(av[1]) : sstrdup(av[0])); + mod_current_buffer = + (ac > 1 ? sstrdup(av[1]) : sstrdup(av[0])); } else { - mod_current_buffer = (ac > 1 ? sstrdup(av[1]) : sstrdup(av[0])); + mod_current_buffer = + (ac > 1 ? sstrdup(av[1]) : sstrdup(av[0])); } } else { mod_current_buffer = NULL; |