Changeset 1778 for trunk/gsdl/src/recpt/receptionist.cpp
- Timestamp:
- 2000-12-08T17:00:35+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/receptionist.cpp
r1762 r1778 418 418 // if maintainer email address is something dodgy (for now I'll define 419 419 // dodgy as being anything that doesn't contain '@') disable EmailEvents 420 // and EmailUserEvents 420 // and EmailUserEvents (we don't strictly need to disable EmailUserEvents 421 // in this case but we will as it seems likely that MailServer will also 422 // be screwed up if maintainer is). 421 423 text_t::const_iterator maintainer_end = configinfo.maintainer.end (); 422 424 text_t::const_iterator maintainer_here = findchar (configinfo.maintainer.begin(), … … 428 430 // if MailServer isn't set it should default to mail.maintainer-domain 429 431 if (configinfo.MailServer.empty()) { 430 configinfo.MailServer = "mail." + substr (maintainer_here , maintainer_end);432 configinfo.MailServer = "mail." + substr (maintainer_here+1, maintainer_end); 431 433 } 432 434 }
Note:
See TracChangeset
for help on using the changeset viewer.