aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-11-08 02:54:31 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-11-08 02:54:31 +0000
commitcaa3a9f21376a0a3d782e0dd29b57e0350aee76a (patch)
treeb1de0f6ced0d4895466f50439e6c7087e8b47f5f /prefs.c
parentd607582d6597a56cbf1c970b15526cdab1e54d37 (diff)
Allow periods in module names.
svn path=/trunk/; revision=4177
Diffstat (limited to 'prefs.c')
-rw-r--r--prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs.c b/prefs.c
index 257d91d336..320994c108 100644
--- a/prefs.c
+++ b/prefs.c
@@ -1,7 +1,7 @@
/* prefs.c
* Routines for handling preferences
*
- * $Id: prefs.c,v 1.70 2001/11/04 02:50:19 guy Exp $
+ * $Id: prefs.c,v 1.71 2001/11/08 02:54:31 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -134,7 +134,7 @@ prefs_register_module(const char *name, const char *title,
*/
for (p = name; *p != '\0'; p++)
g_assert(isascii(*p) &&
- (islower(*p) || isdigit(*p) || *p == '_'));
+ (islower(*p) || isdigit(*p) || *p == '_' || *p == '.'));
/*
* Make sure there's not already a module with that