Commits

Zhang Huangbin committed 81d5021

Fix typo error.

Comments (0)

Files changed (1)

src/plugins/sql_alias_access_policy.py

 #   - membersAndModeratorsOnly: Only members and moderators are allowed.
 
 import sys
+import logging
 
 ACTION_REJECT = 'REJECT Not Authorized'
 
             return 'DUNNO'
         else:
             return ACTION_REJECT
-    elif policy == POLICY_MEMBERSONLY:
+    elif policy == POLICY_MODERATORSONLY:
         # Bypass all moderators.
         if sender in moderators:
             return 'DUNNO'