You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/12/15 19:45:01 UTC

incubator-ponymail git commit: typo in all example aaa modules: xemail != exmail

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 390566875 -> 0426f671a


typo in all example aaa modules: xemail != exmail

This fixes #299

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/0426f671
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/0426f671
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/0426f671

Branch: refs/heads/master
Commit: 0426f671acf7b3ba07da7df4a7b0f94200ad2474
Parents: 3905668
Author: Sebb <se...@apache.org>
Authored: Thu Dec 15 19:42:38 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Thu Dec 15 19:42:38 2016 +0000

----------------------------------------------------------------------
 CHANGELOG.md                          | 1 +
 aaa_examples/aaa_by_email_address.lua | 2 +-
 aaa_examples/aaa_by_portal.lua        | 2 +-
 aaa_examples/aaa_with_subgroups.lua   | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/0426f671/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b23c970..b0a435b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -64,6 +64,7 @@
 - lua modules should define local functions only (#294)
 - inconsistent rights checking (#267)
 - thread.lua fails to fetch rights when fetching private child of public parent (#296)
+- typo in all example aaa modules: xemail != exmail (#299)
 
 ## CHANGES in 0.9b:
 

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/0426f671/aaa_examples/aaa_by_email_address.lua
----------------------------------------------------------------------
diff --git a/aaa_examples/aaa_by_email_address.lua b/aaa_examples/aaa_by_email_address.lua
index 66466d6..7850742 100644
--- a/aaa_examples/aaa_by_email_address.lua
+++ b/aaa_examples/aaa_by_email_address.lua
@@ -49,7 +49,7 @@ local function getRights(r, usr)
     local rights = {}
     
     -- bad char in email?
-    if not email or exmail ~= email then
+    if not email or xemail ~= email then
         return rights
     end
     

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/0426f671/aaa_examples/aaa_by_portal.lua
----------------------------------------------------------------------
diff --git a/aaa_examples/aaa_by_portal.lua b/aaa_examples/aaa_by_portal.lua
index 0eeaa6f..79782db 100644
--- a/aaa_examples/aaa_by_portal.lua
+++ b/aaa_examples/aaa_by_portal.lua
@@ -37,7 +37,7 @@ local function getRights(r, usr)
     local rights = {}
     
     -- bad char in email?
-    if not email or exmail ~= email then
+    if not email or xemail ~= email then
         return rights
     end
     

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/0426f671/aaa_examples/aaa_with_subgroups.lua
----------------------------------------------------------------------
diff --git a/aaa_examples/aaa_with_subgroups.lua b/aaa_examples/aaa_with_subgroups.lua
index 62a12aa..f2ef495 100644
--- a/aaa_examples/aaa_with_subgroups.lua
+++ b/aaa_examples/aaa_with_subgroups.lua
@@ -55,7 +55,7 @@ local function getRights(r, usr)
     local rights = {}
     
     -- bad char in email?
-    if not email or exmail ~= email then
+    if not email or xemail ~= email then
         return rights
     end