diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-23 21:23:05 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-23 21:23:05 +0000 |
commit | 605353f9ef380f96e3bba5b5558a16162158616f (patch) | |
tree | 306bd676b8ba1a00fe27fa29dd95d5f930e7ff47 /src/process.c | |
parent | c5536f67df42ef8bcbe694ffa6f0b8556847d041 (diff) |
BUILD : 1.7.14 (1021) BUGS : NOTES : Anope 1.7.14 RC1
git-svn-id: svn://svn.anope.org/anope/trunk@1021 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@746 5417fbe8-f217-4b02-8779-1006273d7864
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; |