Index: smsgateway.module
===================================================================
--- smsgateway.module	(revision 2300)
+++ smsgateway.module	(working copy)
@@ -395,7 +395,7 @@
  */
 function smsgateway_settings() {
   // only administrators can access this module
-  if (!user_access('admin smsgateway')) {
+  if (!user_access('administer smsgateway')) {
   	drupal_access_denied();
     return;
     }
