]> git.donarmstrong.com Git - infobot.git/blobdiff - src/DynaConfig.pl
* Merged r1772:1784 from /branches/misc-cleanup
[infobot.git] / src / DynaConfig.pl
index e52a2ead8b420a53d189844f0cc012e627f68deb..1c3cad37c07d11474fe20d46cebd1c7ed80fe6e1 100644 (file)
@@ -23,7 +23,8 @@ my @regFlagsUser = (
     'O',    # dynamic ops (as on channel). (automatic +o)
     'T',    # add topics.
     'a',    # ask/request factoid.
-    'm',    # modify factoid. (includes renaming)
+    'm',    # modify all factoids. (includes renaming)
+    'M',    # modify own factoids. (includes renaming)
     'n',    # bot owner, can 'reload'
     'o',    # master of bot (automatic +amrt)
             # can search on factoid strings shorter than 2 chars
@@ -757,7 +758,7 @@ sub getUser {
 sub chanSet {
     my ( $cmd, $chan, $what, $val ) = @_;
 
-    if ( $cmd eq '+chan' ) {
+    if ( $cmd eq 'chanadd' ) {
         if ( exists $chanconf{$chan} ) {
             &performStrictReply("chan $chan already exists.");
             return;