diff options
author | shennetsind <ind@henn.et> | 2013-11-04 21:13:19 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-04 22:32:36 -0200 |
commit | 0a965aafde882e905ea71f3bcef8f4ff81c1c327 (patch) | |
tree | ab98747ab350cf16847418c68be191db99765a34 /tools/HPMHookGen | |
parent | fa07bc455ebb511defa9623fedc8074d66135c19 (diff) | |
download | hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.gz hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.bz2 hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.xz hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.zip |
pc_groups interfaced
The last file without a interface is now no more (date.h doesn't count :P).
Modified the way permissions are stored in order to enable plugins to be able to create permissions ( pcg->add_permission("name") [returns permission key] ).
Special Thanks to Haruna!
Closes #121
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'tools/HPMHookGen')
-rwxr-xr-x | tools/HPMHookGen/HPMHookGen.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/HPMHookGen/HPMHookGen.pl b/tools/HPMHookGen/HPMHookGen.pl index cf50a9e77..eef490e29 100755 --- a/tools/HPMHookGen/HPMHookGen.pl +++ b/tools/HPMHookGen/HPMHookGen.pl @@ -265,6 +265,8 @@ foreach my $file (@files) { # Loop through the xml files $key = "ircbot"; } elsif ($key =~ /log_interface/) { $key = "logs"; + } elsif ($key =~ /pc_groups_interface/) { + $key = "pcg"; } else { $key =~ s/_interface//; } @@ -367,6 +369,7 @@ foreach my $file (@files) { # Loop through the xml files my %exportsymbols = map { $_ => &{ sub ($) { return 'battlegrounds' if $_ =~ /^bg$/; + return 'pc_groups' if $_ =~ /^pcg$/; return $_; }}($_); } @keys; |